Package | Description |
---|---|
com.basho.riak.client.raw.http |
Classes for adapting the http.
RiakClient to the
RawClient interface |
Modifier and Type | Method and Description |
---|---|
static HTTPClientConfig.Builder |
HTTPClientConfig.Builder.from(HTTPClientConfig copyConfig)
Create a new builder with values all copied from
copyConfig |
HTTPClientConfig.Builder |
HTTPClientConfig.Builder.withHost(String host)
Set the host.
|
HTTPClientConfig.Builder |
HTTPClientConfig.Builder.withHttpClient(org.apache.http.client.HttpClient client)
You can supply a preconfigured HttpClient that you want the
RawClient to delegate to. |
HTTPClientConfig.Builder |
HTTPClientConfig.Builder.withMapreducePath(String path)
The location of Riak's map reduce resource
|
HTTPClientConfig.Builder |
HTTPClientConfig.Builder.withMaxConnctions(int maxConnections)
Deprecated.
As of 1.0.8, replaced by
withMaxConnections(int) |
HTTPClientConfig.Builder |
HTTPClientConfig.Builder.withMaxConnections(int maxConnections)
Maximum number of connections this client may have open at any time.
|
HTTPClientConfig.Builder |
HTTPClientConfig.Builder.withPort(int port)
Set the port.
|
HTTPClientConfig.Builder |
HTTPClientConfig.Builder.withRetryHandler(org.apache.http.client.HttpRequestRetryHandler retryHandler)
Apache HttpClient treats some HTTP methods as retry-able, and
provides a default implementation of
HttpRequestRetryHandler
to be called when a request fails. |
HTTPClientConfig.Builder |
HTTPClientConfig.Builder.withRiakPath(String path)
Set the path to the base Riak REST resource.
|
HTTPClientConfig.Builder |
HTTPClientConfig.Builder.withScheme(String scheme)
Set the scheme.
|
HTTPClientConfig.Builder |
HTTPClientConfig.Builder.withTimeout(int timeout)
The connection, socket read and pooled connection acquisition timeout
in milliseconds
|
HTTPClientConfig.Builder |
HTTPClientConfig.Builder.withUrl(String url)
The URL Riak REST interface.
|
Copyright © 2014. All Rights Reserved.