com.google.api.ads.dfp.axis
Class DfpAxisHeaderHandler
java.lang.Object
com.google.api.ads.dfp.axis.DfpAxisHeaderHandler
- All Implemented Interfaces:
- HeaderHandler<DfpSession,DfpServiceDescriptor>
public class DfpAxisHeaderHandler
- extends Object
- implements HeaderHandler<DfpSession,DfpServiceDescriptor>
DFP implementation of HeaderHandler.
- Author:
- Adam Rogal
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DfpAxisHeaderHandler
@Inject
public DfpAxisHeaderHandler(SoapClientHandlerInterface soapClientHandler,
com.google.api.ads.dfp.lib.conf.DfpApiConfiguration dfpApiConfiguration,
AuthorizationHeaderHandler authorizationHeaderHandler,
UserAgentCombiner userAgentCombiner)
- Constructor.
- Parameters:
soapClientHandler - the SOAP client handlerdfpApiConfiguration - the DFP API configurationauthorizationHeaderHandler - the authorization header handleruserAgentCombiner - the full user agent provider
setHeaders
public void setHeaders(Object soapClient,
DfpSession dfpSession,
DfpServiceDescriptor dfpServiceDescriptor)
throws AuthenticationException,
ServiceException
- Specified by:
setHeaders in interface HeaderHandler<DfpSession,DfpServiceDescriptor>
- Throws:
AuthenticationException
ServiceException- See Also:
HeaderHandler.setHeaders(Object,
com.google.api.ads.common.lib.client.AdsSession,
com.google.api.ads.common.lib.client.AdsServiceDescriptor)
Copyright © 2012. All Rights Reserved.