Package | Description |
---|---|
com.google.cloud.hadoop.util |
Modifier and Type | Field and Description |
---|---|
static HttpTransportFactory.HttpTransportType |
HttpTransportFactory.DEFAULT_TRANSPORT_TYPE |
Modifier and Type | Method and Description |
---|---|
abstract HttpTransportFactory.HttpTransportType |
CredentialOptions.getTransportType() |
static HttpTransportFactory.HttpTransportType |
HttpTransportFactory.HttpTransportType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpTransportFactory.HttpTransportType[] |
HttpTransportFactory.HttpTransportType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static com.google.api.client.http.HttpTransport |
HttpTransportFactory.createHttpTransport(HttpTransportFactory.HttpTransportType type)
Create an
HttpTransport with socketKeepAlive true |
static com.google.api.client.http.HttpTransport |
HttpTransportFactory.createHttpTransport(HttpTransportFactory.HttpTransportType type,
String proxyAddress,
RedactedString proxyUsername,
RedactedString proxyPassword)
Create an
HttpTransport based on a type class and an optional HTTP proxy. |
static com.google.api.client.http.HttpTransport |
HttpTransportFactory.createHttpTransport(HttpTransportFactory.HttpTransportType type,
String proxyAddress,
RedactedString proxyUsername,
RedactedString proxyPassword,
Duration readTimeout)
Create an
HttpTransport based on a type class, optional HTTP proxy and optional socket
read timeout. |
abstract CredentialOptions.Builder |
CredentialOptions.Builder.setTransportType(HttpTransportFactory.HttpTransportType transportType) |
Copyright © 2024. All rights reserved.