Class HttpOptions

java.lang.Object
de.galan.commons.net.flux.HttpOptions

public class HttpOptions extends Object
Additional behaviour options for the HttpClient
  • Constructor Details

    • HttpOptions

      public HttpOptions()
  • Method Details

    • 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()
    • enableRetries

      public void enableRetries(Long retries, Long timeBetween)
    • enableRetries

      public void enableRetries(Long retries, String timeBetween)
    • getFollowRedirects

      public Boolean getFollowRedirects()
    • enableFollowRedirects

      public void enableFollowRedirects(Boolean follow)
    • getTimeoutThread

      public Boolean getTimeoutThread()
    • enableTimeoutThread

      public void enableTimeoutThread(Boolean thread)
    • enableAuthorization

      public void enableAuthorization(String username, String password)
    • getAuthorizationUsername

      public String getAuthorizationUsername()
    • getAuthorizationPassword

      public String getAuthorizationPassword()