public static final class ClientLogin.Response extends Object implements HttpExecuteInterceptor, HttpRequestInitializer
Sample usage, taking advantage that this class implements HttpRequestInitializer:
public static HttpRequestFactory createRequestFactory(
HttpTransport transport, Response response) {
return transport.createRequestFactory(response);
}
If you have a custom request initializer, take a look at the sample usage for
HttpExecuteInterceptor, which this class also implements.
| Constructor and Description |
|---|
ClientLogin.Response() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthorizationHeaderValue()
Returns the authorization header value to use based on the authentication token.
|
void |
initialize(HttpRequest request) |
void |
intercept(HttpRequest request) |
public String auth
public String getAuthorizationHeaderValue()
public void initialize(HttpRequest request)
initialize in interface HttpRequestInitializerpublic void intercept(HttpRequest request)
intercept in interface HttpExecuteInterceptorCopyright © 2010-2012 Google. All Rights Reserved.