public static final class ClientLogin.Response extends Object implements com.google.api.client.http.HttpExecuteInterceptor, com.google.api.client.http.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(com.google.api.client.http.HttpRequest request) |
void |
intercept(com.google.api.client.http.HttpRequest request) |
public String auth
public String getAuthorizationHeaderValue()
public void initialize(com.google.api.client.http.HttpRequest request)
initialize
in interface com.google.api.client.http.HttpRequestInitializer
public void intercept(com.google.api.client.http.HttpRequest request)
intercept
in interface com.google.api.client.http.HttpExecuteInterceptor
Copyright © 2010-2013 Google. All Rights Reserved.