Package io.micronaut.gcp.credentials
Class DefaultOAuth2HttpTransportFactory.MutableBlockingLowLevelHttpRequest
java.lang.Object
com.google.api.client.http.LowLevelHttpRequest
io.micronaut.gcp.credentials.DefaultOAuth2HttpTransportFactory.MutableBlockingLowLevelHttpRequest
- Enclosing class:
- DefaultOAuth2HttpTransportFactory
public static final class DefaultOAuth2HttpTransportFactory.MutableBlockingLowLevelHttpRequest
extends com.google.api.client.http.LowLevelHttpRequest
Implementation of
LowLevelHttpRequest that uses the blocking API of HttpClient.
The GCP SDK manages threads for these requests, so they will not block the main Micronaut event loop.-
Method Summary
Methods inherited from class com.google.api.client.http.LowLevelHttpRequest
getContentEncoding, getContentLength, getContentType, getStreamingContent, setContentEncoding, setContentLength, setContentType, setStreamingContent, setTimeout, setWriteTimeout
-
Method Details
-
addHeader
- Specified by:
addHeaderin classcom.google.api.client.http.LowLevelHttpRequest- Throws:
IOException
-
execute
- Specified by:
executein classcom.google.api.client.http.LowLevelHttpRequest- Throws:
IOException
-