Class StandardHttpRequestor.Config

    • Method Detail

      • getProxy

        public java.net.Proxy getProxy()
        Returns the proxy configuration for network connections.
        Returns:
        proxy configuration to use for network connections.
      • getConnectTimeoutMillis

        public long getConnectTimeoutMillis()
        Returns the timeout, in milliseconds, for opening a connection to the servers. If the timeout is 0, then connect timeouts are disabled.
        Returns:
        timeout, in milliseconds, for opening connections to the servers.
      • getReadTimeoutMillis

        public long getReadTimeoutMillis()
        Returns the timeout, in milliseconds, for receiving a response from the servers. If the timeout is 0, then read timeouts are disabled.
        Returns:
        timeout, in milliseconds, for receiving a response from the server.
      • copy

        public StandardHttpRequestor.Config.Builder copy()
        Returns a new builder for creating a copy of this config. The builder is configured to use this config's values as its default.
        Returns:
        builder for creating a copy of this config.