public class HTTPClientConfig extends Object implements Configuration
HTTPClusterConfig
Modifier and Type | Class and Description |
---|---|
static class |
HTTPClientConfig.Builder
Use the builder to create a new instance of
HTTPClientConfig . |
Modifier and Type | Method and Description |
---|---|
static HTTPClientConfig |
defaults()
Create a config with all the default values, see
HTTPClientConfig.Builder for the
defaults. |
org.apache.http.client.HttpClient |
getHttpClient() |
String |
getMapreducePath() |
Integer |
getMaxConnections() |
org.apache.http.client.HttpRequestRetryHandler |
getRetryHandler() |
Integer |
getTimeout() |
String |
getUrl() |
public static HTTPClientConfig defaults()
HTTPClientConfig.Builder
for the
defaults.HTTPClientConfig.Builder
public String getUrl()
public String getMapreducePath()
public org.apache.http.client.HttpClient getHttpClient()
HttpClient
public Integer getTimeout()
public Integer getMaxConnections()
public org.apache.http.client.HttpRequestRetryHandler getRetryHandler()
HttpRequestRetryHandler
Copyright © 2014. All Rights Reserved.