ServiceT - the service subclassServiceRpcT - the spi-layer class corresponding to the serviceOptionsT - the ServiceOptions subclass corresponding to the servicepublic abstract class HttpServiceOptions<ServiceT extends Service<OptionsT>,ServiceRpcT,OptionsT extends HttpServiceOptions<ServiceT,ServiceRpcT,OptionsT>> extends ServiceOptions<ServiceT,ServiceRpcT,OptionsT>
| Modifier and Type | Class and Description |
|---|---|
protected static class |
HttpServiceOptions.Builder<ServiceT extends Service<OptionsT>,ServiceRpcT,OptionsT extends HttpServiceOptions<ServiceT,ServiceRpcT,OptionsT>,B extends HttpServiceOptions.Builder<ServiceT,ServiceRpcT,OptionsT,B>>
Builder for
HttpServiceOptions. |
static class |
HttpServiceOptions.DefaultHttpTransportFactory |
static interface |
HttpServiceOptions.HttpTransportFactory
A base interface for all
HttpTransport factories. |
| Modifier | Constructor and Description |
|---|---|
protected |
HttpServiceOptions(Class<? extends ServiceFactory<ServiceT,OptionsT>> serviceFactoryClass,
Class<? extends ServiceRpcFactory<ServiceRpcT,OptionsT>> rpcFactoryClass,
HttpServiceOptions.Builder<ServiceT,ServiceRpcT,OptionsT,?> builder) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
baseEquals(HttpServiceOptions<?,?,?> other) |
protected int |
baseHashCode() |
int |
connectTimeout()
Returns the timeout in milliseconds to establish a connection.
|
com.google.api.client.http.HttpRequestInitializer |
httpRequestInitializer()
Returns a request initializer responsible for initializing requests according to service
options.
|
HttpServiceOptions.HttpTransportFactory |
httpTransportFactory()
Returns the HTTP transport factory.
|
int |
readTimeout()
Returns the timeout in milliseconds to read from an established connection.
|
appEngineAppId, appEngineProjectId, applicationName, authCredentials, baseEquals, clock, defaultHost, defaultProject, defaultRetryParams, defaultRpcFactory, defaultServiceFactory, googleCloudProjectId, host, libraryName, libraryVersion, projectId, projectIdRequired, retryParams, rpc, scopes, service, serviceAccountProjectId, toBuilderprotected HttpServiceOptions(Class<? extends ServiceFactory<ServiceT,OptionsT>> serviceFactoryClass, Class<? extends ServiceRpcFactory<ServiceRpcT,OptionsT>> rpcFactoryClass, HttpServiceOptions.Builder<ServiceT,ServiceRpcT,OptionsT,?> builder)
public HttpServiceOptions.HttpTransportFactory httpTransportFactory()
public com.google.api.client.http.HttpRequestInitializer httpRequestInitializer()
public int connectTimeout()
public int readTimeout()
protected int baseHashCode()
baseHashCode in class ServiceOptions<ServiceT extends Service<OptionsT>,ServiceRpcT,OptionsT extends HttpServiceOptions<ServiceT,ServiceRpcT,OptionsT>>protected boolean baseEquals(HttpServiceOptions<?,?,?> other)
Copyright © 2016 Google. All rights reserved.