com.google.api.ads.dfp.lib.client
Class DfpServiceClient
java.lang.Object
com.google.api.ads.common.lib.soap.SoapServiceClient<Object>
com.google.api.ads.common.lib.client.AdsServiceClient<DfpSession,DfpServiceDescriptor>
com.google.api.ads.dfp.lib.client.DfpServiceClient
- All Implemented Interfaces:
- InvocationHandler
public class DfpServiceClient
- extends AdsServiceClient<DfpSession,DfpServiceDescriptor>
Wrapper of underlying SOAP client which allows access for setting
headers retrieved from the session.
- Author:
- Adam Rogal
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DfpServiceClient
@Inject
public DfpServiceClient(Object soapClient,
DfpServiceDescriptor dfpServiceDescriptor,
DfpSession dfpSession,
SoapClientHandlerInterface soapClientHandler,
HeaderHandler dfpHeaderHandler,
AdsServiceLoggers adsServiceLoggers)
- Constructor.
- Parameters:
soapClient - the SOAP clientdfpServiceDescriptor - the DFP service descriptordfpSession - the DFP sessionsoapClientHandler - the SOAP client handlerdfpHeaderHandler - the DFP header handleradsServiceLoggers - the ads service loggers
handleException
protected Throwable handleException(Throwable e)
- Description copied from class:
SoapServiceClient
- Handles the exception.
Default behavior is to return the exception unchanged.
- Overrides:
handleException in class SoapServiceClient<Object>
- Parameters:
e - the exception to handle
- Returns:
- the exception which may have been modified (wrapped/unwrapped)
- See Also:
SoapServiceClient.handleException(java.lang.Throwable)
Copyright © 2012. All Rights Reserved.