public class Internals extends Object
Constructor and Description |
---|
Internals(AuthorizationHeaderProvider authorizationHeaderProvider,
UserAgentCombiner userAgentCombiner,
com.google.api.client.http.HttpTransport httpTransport,
AdsServiceLoggers adsServiceLoggers,
OAuth2Helper oAuth2Helper,
AdsUtilityRegistry adsUtilityRegistry,
XmlFieldExtractor xmlFieldExtractor)
Constructor to be injected by guice.
|
Modifier and Type | Method and Description |
---|---|
AdsServiceLoggers |
getAdsServiceLoggers()
Gets the loggers.
|
AdsUtilityRegistry |
getAdsUtilityRegistry()
Gets the ads utility registry.
|
AuthorizationHeaderProvider |
getAuthorizationHeaderProvider()
Obtains the Authorization header value.
|
com.google.api.client.http.HttpTransport |
getHttpTransport()
Returns an HttpTransport suitable for the java environment.
|
OAuth2Helper |
getOAuth2Helper()
Gets the OAuth2 helper.
|
UserAgentCombiner |
getUserAgentCombiner()
Creates a verbose User-Agent header.
|
XmlFieldExtractor |
getXmlFieldExtractor() |
@Inject public Internals(AuthorizationHeaderProvider authorizationHeaderProvider, UserAgentCombiner userAgentCombiner, com.google.api.client.http.HttpTransport httpTransport, AdsServiceLoggers adsServiceLoggers, OAuth2Helper oAuth2Helper, AdsUtilityRegistry adsUtilityRegistry, XmlFieldExtractor xmlFieldExtractor)
public UserAgentCombiner getUserAgentCombiner()
public AuthorizationHeaderProvider getAuthorizationHeaderProvider()
public com.google.api.client.http.HttpTransport getHttpTransport()
public AdsServiceLoggers getAdsServiceLoggers()
public OAuth2Helper getOAuth2Helper()
public AdsUtilityRegistry getAdsUtilityRegistry()
public XmlFieldExtractor getXmlFieldExtractor()
Copyright © 2018. All Rights Reserved.