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
FieldsModifier and TypeFieldDescriptionstatic final com.google.api.client.json.JsonFactory
Global instance of the JSON factory. -
Constructor Summary
ConstructorsConstructorDescriptionCredentialHttpRequestInitializer
(com.google.api.client.auth.oauth2.Credential credential) -
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(com.google.api.client.http.HttpRequest request)
-
Field Details
-
JSON_FACTORY
public static final com.google.api.client.json.JsonFactory JSON_FACTORYGlobal instance of the JSON factory.
-
-
Constructor Details
-
CredentialHttpRequestInitializer
public CredentialHttpRequestInitializer(com.google.api.client.auth.oauth2.Credential credential)
-
-
Method Details
-
initialize
- Specified by:
initialize
in interfacecom.google.api.client.http.HttpRequestInitializer
- Throws:
IOException
-