Class HttpOptions


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

      • HttpOptions

        public HttpOptions()
    • Method Detail

      • getTimeoutConnection

        public Long getTimeoutConnection()
      • setTimeoutConnection

        public void setTimeoutConnection​(Long timeoutConnection)
      • getTimeoutRead

        public Long getTimeoutRead()
      • setTimeoutRead

        public void setTimeoutRead​(Long timeoutRead)
      • 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()