Package de.galan.commons.net.flux
Class HttpOptions
- java.lang.Object
-
- de.galan.commons.net.flux.HttpOptions
-
public class HttpOptions extends Object
Additional behaviour options for the HttpClient
-
-
Constructor Summary
Constructors Constructor Description HttpOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidenableAuthorization(String username, String password)voidenableFollowRedirects(Boolean follow)voidenableProxy(CommonProxy commonProxy)voidenableRetries(Long retries, Long timeBetween)voidenableRetries(Long retries, String timeBetween)voidenableTimeoutThread(Boolean thread)StringgetAuthorizationPassword()StringgetAuthorizationUsername()BooleangetFollowRedirects()CommonProxygetProxy()longgetRetriesCount()LonggetTimeBetweenRetries()LonggetTimeoutConnection()LonggetTimeoutRead()BooleangetTimeoutThread()booleanisProxyEnabled()voidsetTimeoutConnection(Long timeoutConnection)voidsetTimeoutRead(Long timeoutRead)
-
-
-
Method Detail
-
getTimeoutConnection
public Long getTimeoutConnection()
-
setTimeoutConnection
public void setTimeoutConnection(Long timeoutConnection)
-
getTimeoutRead
public Long getTimeoutRead()
-
setTimeoutRead
public void setTimeoutRead(Long timeoutRead)
-
getProxy
public CommonProxy getProxy()
-
enableProxy
public void enableProxy(CommonProxy commonProxy)
-
isProxyEnabled
public boolean isProxyEnabled()
-
getRetriesCount
public long getRetriesCount()
-
getTimeBetweenRetries
public Long getTimeBetweenRetries()
-
getFollowRedirects
public Boolean getFollowRedirects()
-
enableFollowRedirects
public void enableFollowRedirects(Boolean follow)
-
getTimeoutThread
public Boolean getTimeoutThread()
-
enableTimeoutThread
public void enableTimeoutThread(Boolean thread)
-
getAuthorizationUsername
public String getAuthorizationUsername()
-
getAuthorizationPassword
public String getAuthorizationPassword()
-
-