public class AdWordsJaxWsExpressHeaderHandler extends Object implements HeaderHandler<AdWordsSession,AdWordsServiceDescriptor>
HeaderHandler.NoOpHeaderHandler<S extends AdsSession,D extends AdsServiceDescriptor>| Constructor and Description |
|---|
AdWordsJaxWsExpressHeaderHandler(JaxWsHandler jaxHandler,
com.google.api.ads.adwords.lib.conf.AdWordsApiConfiguration adWordsApiConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
void |
setHeaders(Object soapClient,
AdWordsSession adWordsSession,
AdWordsServiceDescriptor adWordsServiceDescriptor)
Sets the headers on the SOAP client using the session and descriptor.
|
@Inject public AdWordsJaxWsExpressHeaderHandler(JaxWsHandler jaxHandler, com.google.api.ads.adwords.lib.conf.AdWordsApiConfiguration adWordsApiConfiguration)
public void setHeaders(Object soapClient, AdWordsSession adWordsSession, AdWordsServiceDescriptor adWordsServiceDescriptor) throws ServiceException, AuthenticationException
HeaderHandlersetHeaders in interface HeaderHandler<AdWordsSession,AdWordsServiceDescriptor>soapClient - the SOAP clientadWordsSession - the ads sessionadWordsServiceDescriptor - the ads service descriptorServiceException - if there was a problem setting the headersAuthenticationException - if there was a problem authenticating the
sessionCopyright © 2016. All Rights Reserved.