public class HttpTransportOptions extends Object implements TransportOptions
Modifier and Type | Class and Description |
---|---|
static class |
HttpTransportOptions.Builder
Builder for
HttpTransportOptions . |
static class |
HttpTransportOptions.DefaultHttpTransportFactory |
Constructor and Description |
---|
HttpTransportOptions(HttpTransportOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getConnectTimeout()
Returns the timeout in milliseconds to establish a connection.
|
com.google.api.client.http.HttpRequestInitializer |
getHttpRequestInitializer(ServiceOptions<?,?> serviceOptions)
Returns a request initializer responsible for initializing requests according to service
options.
|
HttpTransportFactory |
getHttpTransportFactory()
Returns the HTTP transport factory.
|
int |
getReadTimeout()
Returns the timeout in milliseconds to read from an established connection.
|
int |
hashCode() |
static HttpTransportOptions.Builder |
newBuilder() |
HttpTransportOptions.Builder |
toBuilder() |
public HttpTransportOptions(HttpTransportOptions.Builder builder)
public HttpTransportFactory getHttpTransportFactory()
public com.google.api.client.http.HttpRequestInitializer getHttpRequestInitializer(ServiceOptions<?,?> serviceOptions)
public int getConnectTimeout()
public int getReadTimeout()
public HttpTransportOptions.Builder toBuilder()
public static HttpTransportOptions.Builder newBuilder()
Copyright © 2019 Google LLC. All rights reserved.