public class AdWordsJaxWsHeaderHandler extends Object implements HeaderHandler<AdWordsSession,AdWordsServiceDescriptor>
HeaderHandler for JAX-WS.HeaderHandler.NoOpHeaderHandler<S extends AdsSession,D extends AdsServiceDescriptor>| Constructor and Description |
|---|
AdWordsJaxWsHeaderHandler(JaxWsHandler soapClientHandler,
com.google.api.ads.adwords.lib.conf.AdWordsApiConfiguration adWordsApiConfiguration,
com.google.api.ads.common.lib.conf.AdsLibConfiguration adsLibConfiguration,
AuthorizationHeaderHandler authorizationHeaderHandler,
UserAgentCombiner userAgentCombiner)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setHeaders(Object soapClient,
AdWordsSession adWordsSession,
AdWordsServiceDescriptor adWordsServiceDescriptor) |
@Inject public AdWordsJaxWsHeaderHandler(JaxWsHandler soapClientHandler, com.google.api.ads.adwords.lib.conf.AdWordsApiConfiguration adWordsApiConfiguration, com.google.api.ads.common.lib.conf.AdsLibConfiguration adsLibConfiguration, AuthorizationHeaderHandler authorizationHeaderHandler, UserAgentCombiner userAgentCombiner)
soapClientHandler - the SOAP client handleradWordsApiConfiguration - the AdWords API configurationauthorizationHeaderHandler - the authorization header handleruserAgentCombiner - the full user agent providerpublic void setHeaders(Object soapClient, AdWordsSession adWordsSession, AdWordsServiceDescriptor adWordsServiceDescriptor) throws AuthenticationException, ServiceException
Copyright © 2023. All rights reserved.