Class CredentialHttpRequestInitializer
- java.lang.Object
-
- org.openshift.jenkins.plugins.openshiftlogin.CredentialHttpRequestInitializer
-
- All Implemented Interfaces:
com.google.api.client.http.HttpRequestInitializer
public final class CredentialHttpRequestInitializer extends Object implements com.google.api.client.http.HttpRequestInitializer
-
-
Field Summary
Fields Modifier and Type Field Description static com.google.api.client.json.JsonFactory
JSON_FACTORY
Global instance of the JSON factory.
-
Constructor Summary
Constructors Constructor Description CredentialHttpRequestInitializer(com.google.api.client.auth.oauth2.Credential credential)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initialize(com.google.api.client.http.HttpRequest request)
-
-
-
Method Detail
-
initialize
public void initialize(com.google.api.client.http.HttpRequest request) throws IOException
- Specified by:
initialize
in interfacecom.google.api.client.http.HttpRequestInitializer
- Throws:
IOException
-
-