public static class BooterConfig.Builder
extends java.lang.Object
| Constructor and Description |
|---|
BooterConfig.Builder() |
BooterConfig.Builder(BooterConfig config) |
| Modifier and Type | Method and Description |
|---|---|
BooterConfig |
build() |
BooterConfig.Builder |
withConnectionPoolSize(int poolSize) |
BooterConfig.Builder |
withContext(java.lang.String context) |
BooterConfig.Builder |
withCredentials(java.lang.String username,
java.lang.String password) |
BooterConfig.Builder |
withHost(java.lang.String host) |
BooterConfig.Builder |
withHttpRequestInterceptor(org.apache.http.HttpRequestInterceptor interceptor) |
BooterConfig.Builder |
withHttpRequestInterceptors(java.util.List<org.apache.http.HttpRequestInterceptor> interceptors) |
BooterConfig.Builder |
withPort(int port) |
BooterConfig.Builder |
withProtocol(BooterConfig.Protocol protocol) |
BooterConfig.Builder |
withProxyHost(java.lang.String proxyHost) |
BooterConfig.Builder |
withProxyPort(int proxyPort) |
BooterConfig.Builder |
withSocketTimeout(int socketTimeout) |
public BooterConfig.Builder()
public BooterConfig.Builder(BooterConfig config)
public BooterConfig.Builder withProtocol(BooterConfig.Protocol protocol)
public BooterConfig.Builder withHost(java.lang.String host)
public BooterConfig.Builder withPort(int port)
public BooterConfig.Builder withProxyHost(java.lang.String proxyHost)
public BooterConfig.Builder withProxyPort(int proxyPort)
public BooterConfig.Builder withContext(java.lang.String context)
public BooterConfig.Builder withConnectionPoolSize(int poolSize)
public BooterConfig.Builder withSocketTimeout(int socketTimeout)
public BooterConfig.Builder withHttpRequestInterceptor(org.apache.http.HttpRequestInterceptor interceptor)
public BooterConfig.Builder withHttpRequestInterceptors(java.util.List<org.apache.http.HttpRequestInterceptor> interceptors)
public BooterConfig.Builder withCredentials(java.lang.String username, java.lang.String password)
public BooterConfig build()