public class DfpAxisHeaderHandler extends Object implements HeaderHandler<DfpSession,DfpServiceDescriptor>
HeaderHandler.HeaderHandler.NoOpHeaderHandler<S extends AdsSession,D extends AdsServiceDescriptor>| Constructor and Description | 
|---|
DfpAxisHeaderHandler(SoapClientHandlerInterface soapClientHandler,
                    com.google.api.ads.dfp.lib.conf.DfpApiConfiguration dfpApiConfiguration,
                    com.google.api.ads.common.lib.conf.AdsLibConfiguration adsLibConfiguration,
                    AuthorizationHeaderHandler authorizationHeaderHandler,
                    DfpHttpHeaderHandler dfpHttpHeaderHandler,
                    UserAgentCombiner userAgentCombiner)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
setHeaders(Object soapClient,
          DfpSession dfpSession,
          DfpServiceDescriptor dfpServiceDescriptor)
Sets the headers on the SOAP client using the session and descriptor. 
 | 
@Inject public DfpAxisHeaderHandler(SoapClientHandlerInterface soapClientHandler, com.google.api.ads.dfp.lib.conf.DfpApiConfiguration dfpApiConfiguration, com.google.api.ads.common.lib.conf.AdsLibConfiguration adsLibConfiguration, AuthorizationHeaderHandler authorizationHeaderHandler, DfpHttpHeaderHandler dfpHttpHeaderHandler, UserAgentCombiner userAgentCombiner)
soapClientHandler - the SOAP client handlerdfpApiConfiguration - the DFP API configurationauthorizationHeaderHandler - the authorization header handlerdfpHttpHeaderHandler - the DFP HTTP header handleruserAgentCombiner - the full user agent providerpublic void setHeaders(Object soapClient, DfpSession dfpSession, DfpServiceDescriptor dfpServiceDescriptor) throws AuthenticationException, ServiceException
HeaderHandlersetHeaders in interface HeaderHandler<DfpSession,DfpServiceDescriptor>soapClient - the SOAP clientdfpSession - the ads sessiondfpServiceDescriptor - the ads service descriptorAuthenticationException - if there was a problem authenticating the
     sessionServiceException - if there was a problem setting the headersHeaderHandler.setHeaders(Object,
      com.google.api.ads.common.lib.client.AdsSession,
      com.google.api.ads.common.lib.client.AdsServiceDescriptor)Copyright © 2015. All Rights Reserved.