com.google.api.ads.dfp.axis
Class DfpAxisHeaderHandler

java.lang.Object
  extended by 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

Constructor Summary
DfpAxisHeaderHandler(SoapClientHandlerInterface soapClientHandler, com.google.api.ads.dfp.lib.conf.DfpApiConfiguration dfpApiConfiguration, AuthorizationHeaderHandler authorizationHeaderHandler, DfpHttpHeaderHandler dfpHttpHeaderHandler, UserAgentCombiner userAgentCombiner)
          Constructor.
 
Method Summary
 void setHeaders(Object soapClient, DfpSession dfpSession, DfpServiceDescriptor dfpServiceDescriptor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DfpAxisHeaderHandler

@Inject
public DfpAxisHeaderHandler(SoapClientHandlerInterface soapClientHandler,
                                   com.google.api.ads.dfp.lib.conf.DfpApiConfiguration dfpApiConfiguration,
                                   AuthorizationHeaderHandler authorizationHeaderHandler,
                                   DfpHttpHeaderHandler dfpHttpHeaderHandler,
                                   UserAgentCombiner userAgentCombiner)
Constructor.

Parameters:
soapClientHandler - the SOAP client handler
dfpApiConfiguration - the DFP API configuration
authorizationHeaderHandler - the authorization header handler
dfpHttpHeaderHandler - the DFP HTTP header handler
userAgentCombiner - the full user agent provider
Method Detail

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.