Utility class to create DFP service clients. The session is stored as a reference within the client so that the session may be altered to affect the behavior of the client.
Usage example:
DfpSession session = new DfpSession.Builder()...build(); InventoryServiceInterface inventoryService = new DfpServices().get(session, InventoryServiceInterface.class); campaignService.makeRequest(...); ... session.setNetworkCode(...); campaignService.makeRequest(...);
Implementation is thread-safe.
@author Joseph DiLallo