public class JDKHttpClientConfig extends Object implements HttpClientConfig
| Constructor and Description |
|---|
JDKHttpClientConfig() |
| Modifier and Type | Method and Description |
|---|---|
JDKHttpClientConfig |
createDefaultConfig() |
static JDKHttpClientConfig |
defaultConfig() |
Integer |
getConnectTimeout() |
Integer |
getReadTimeout() |
boolean |
isFollowRedirects() |
void |
setConnectTimeout(Integer connectTimeout) |
void |
setFollowRedirects(boolean followRedirects)
Sets whether the underlying Http Connection follows redirects or not.
|
void |
setReadTimeout(Integer readTimeout) |
public JDKHttpClientConfig createDefaultConfig()
createDefaultConfig in interface HttpClientConfigpublic static JDKHttpClientConfig defaultConfig()
public Integer getConnectTimeout()
public void setConnectTimeout(Integer connectTimeout)
public Integer getReadTimeout()
public void setReadTimeout(Integer readTimeout)
public boolean isFollowRedirects()
public void setFollowRedirects(boolean followRedirects)
followRedirects - booleanCopyright © 2017. All rights reserved.