|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.api.ads.common.lib.soap.SoapServiceClient<Object>
com.google.api.ads.common.lib.client.AdsServiceClient<S,D>
S - the type of AdsSessionD - the type of AdsServiceDescriptorpublic abstract class AdsServiceClient<S extends AdsSession,D extends AdsServiceDescriptor>
The base class for all AdsServiceClients.
This class connects the user, handler, and underlying service client. It fulfills:
| Constructor Summary | |
|---|---|
AdsServiceClient(Object soapClient,
S adsSession,
D adsServiceDescriptor,
SoapClientHandlerInterface<Object> soapClientHandler,
HeaderHandler<S,D> headerHandler,
AdsServiceLoggers adsServiceLoggers)
Constructor. |
|
| Method Summary | |
|---|---|
S |
getAdsSession()
Gets the ads session for this client. |
protected void |
logSoapCall(SoapCallReturn soapCallReturn)
Logs a SOAP call. |
void |
setAdsSession(S session)
Sets the ads session for this client. |
protected void |
setHeaders()
Sets the headers for the service client. |
| Methods inherited from class com.google.api.ads.common.lib.soap.SoapServiceClient |
|---|
callSoapClient, createSoapCall, getSoapClient, getSoapClientHandler, handleException, invoke, setEndpointAddress, unwrapSoapCallReturn |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AdsServiceClient(Object soapClient,
S adsSession,
D adsServiceDescriptor,
SoapClientHandlerInterface<Object> soapClientHandler,
HeaderHandler<S,D> headerHandler,
AdsServiceLoggers adsServiceLoggers)
soapClient - the SOAP clientadsSession - the sessionadsServiceDescriptor - the service descriptorsoapClientHandler - the SOAP client handlerheaderHandler - the header handleradsServiceLoggers - the loggers| Method Detail |
|---|
public S getAdsSession()
public void setAdsSession(S session)
session - the ads session to set for this clientprotected void logSoapCall(SoapCallReturn soapCallReturn)
SoapServiceClient
logSoapCall in class SoapServiceClient<Object>logSoapCall(SoapCallReturn)
protected void setHeaders()
throws ServiceException,
AuthenticationException
SoapServiceClient
setHeaders in class SoapServiceClient<Object>ServiceException - if there was a problem setting the headers
AuthenticationException - if there was a problem authenticating while
setting headerssetHeaders()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||