com.google.api.ads.common.lib.client
Interface HeaderHandler<S extends AdsSession,D extends AdsServiceDescriptor>

All Known Implementing Classes:
AdWordsAxisHeaderHandler, AdWordsJaxWsHeaderHandler, DfaAxisHeaderHandler, DfpAxisHeaderHandler, DfpJaxWsHeaderHandler

public interface HeaderHandler<S extends AdsSession,D extends AdsServiceDescriptor>

Interface for handling headers.

Author:
Adam Rogal

Method Summary
 void setHeaders(Object soapClient, S adsSession, D adsServiceDescriptor)
          Sets the headers on the SOAP client using the session and descriptor.
 

Method Detail

setHeaders

void setHeaders(Object soapClient,
                S adsSession,
                D adsServiceDescriptor)
                throws ServiceException,
                       AuthenticationException
Sets the headers on the SOAP client using the session and descriptor.

Parameters:
soapClient - the SOAP client
adsSession - the ads session
adsServiceDescriptor - the ads service descriptor
Throws:
ServiceException - if there was a problem setting the headers
AuthenticationException - if there was a problem authenticating the session


Copyright © 2012. All Rights Reserved.