Package de.galan.commons.net.flux
Class HttpOptions
java.lang.Object
de.galan.commons.net.flux.HttpOptions
Additional behaviour options for the HttpClient
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidenableAuthorization(String username, String password) voidenableFollowRedirects(Boolean follow) voidenableProxy(CommonProxy commonProxy) voidenableRetries(Long retries, Long timeBetween) voidenableRetries(Long retries, String timeBetween) voidenableTimeoutThread(Boolean thread) getProxy()longbooleanvoidsetTimeoutConnection(Long timeoutConnection) voidsetTimeoutRead(Long timeoutRead)
-
Constructor Details
-
HttpOptions
public HttpOptions()
-
-
Method Details
-
getTimeoutConnection
-
setTimeoutConnection
-
getTimeoutRead
-
setTimeoutRead
-
getProxy
-
enableProxy
-
isProxyEnabled
public boolean isProxyEnabled() -
getRetriesCount
public long getRetriesCount() -
getTimeBetweenRetries
-
enableRetries
-
enableRetries
-
getFollowRedirects
-
enableFollowRedirects
-
getTimeoutThread
-
enableTimeoutThread
-
enableAuthorization
-
getAuthorizationUsername
-
getAuthorizationPassword
-