public class HttpOptions extends Object
| Constructor and Description |
|---|
HttpOptions() |
| Modifier and Type | Method and Description |
|---|---|
void |
enableAuthorization(String username,
String password) |
void |
enableFollowRedirects(Boolean follow) |
void |
enableProxy(CommonProxy commonProxy) |
void |
enableRetries(Long retries,
Long timeBetween) |
void |
enableRetries(Long retries,
String timeBetween) |
void |
enableTimeoutThread(Boolean thread) |
String |
getAuthorizationPassword() |
String |
getAuthorizationUsername() |
Boolean |
getFollowRedirects() |
CommonProxy |
getProxy() |
long |
getRetriesCount() |
Long |
getTimeBetweenRetries() |
Long |
getTimeoutConnection() |
Long |
getTimeoutRead() |
Boolean |
getTimeoutThread() |
boolean |
isProxyEnabled() |
void |
setTimeoutConnection(Long timeoutConnection) |
void |
setTimeoutRead(Long timeoutRead) |
public Long getTimeoutConnection()
public void setTimeoutConnection(Long timeoutConnection)
public Long getTimeoutRead()
public void setTimeoutRead(Long timeoutRead)
public CommonProxy getProxy()
public void enableProxy(CommonProxy commonProxy)
public boolean isProxyEnabled()
public long getRetriesCount()
public Long getTimeBetweenRetries()
public Boolean getFollowRedirects()
public void enableFollowRedirects(Boolean follow)
public Boolean getTimeoutThread()
public void enableTimeoutThread(Boolean thread)
public String getAuthorizationUsername()
public String getAuthorizationPassword()
Copyright © 2017. All rights reserved.