public class AdWordsAxisHeaderHandler extends Object implements HeaderHandler<AdWordsSession,AdWordsServiceDescriptor>
HeaderHandler
for Axis.HeaderHandler.NoOpHeaderHandler<S extends AdsSession,D extends AdsServiceDescriptor>
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.
|
public void setHeaders(Object soapClient, AdWordsSession adWordsSession, AdWordsServiceDescriptor adWordsServiceDescriptor) throws AuthenticationException, ServiceException
HeaderHandler
setHeaders
in interface HeaderHandler<AdWordsSession,AdWordsServiceDescriptor>
soapClient
- the SOAP clientadWordsSession
- the ads sessionadWordsServiceDescriptor
- 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 © 2018. All Rights Reserved.