public class RestClientConfig
extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RestClientConfig.builder |
Modifier and Type | Method and Description |
---|---|
static RestClientConfig.builder |
builder() |
int |
getConnectionTimeoutInSeconds()
Returns connection timeout value in seconds
|
Map<String,Object> |
getHeaders() |
String |
getHostEnvironment()
Returns host environment as a String
|
String |
getProxyHost()
Returns proxy host as a String
|
String |
getProxyPassword()
Returns proxy password as a String
|
Integer |
getProxyPort()
Returns proxy port as a String
|
String |
getProxySchema()
Returns proxy schema as a String
|
String |
getProxyUsername()
Returns proxy username as a String
|
int |
getSocketTimeoutInSeconds()
Returns socket timeout value in seconds
|
void |
setHostEnvironment(String hostEnvironment)
Sets the host environment as a String
|
void |
setSocketTimeoutInSeconds(int socketTimeoutInSeconds) |
public int getSocketTimeoutInSeconds()
public void setSocketTimeoutInSeconds(int socketTimeoutInSeconds)
public int getConnectionTimeoutInSeconds()
public String getProxyHost()
public Integer getProxyPort()
public String getProxyUsername()
public String getProxyPassword()
public String getProxySchema()
public String getHostEnvironment()
public void setHostEnvironment(String hostEnvironment)
hostEnvironment
- host environment as a Stringpublic static RestClientConfig.builder builder()
public Map<String,Object> getHeaders()