Class ProxyParam

  • All Implemented Interfaces:
    java.lang.Cloneable

    @Deprecated
    public class ProxyParam
    extends AbstractParam
    Deprecated.
    (2.12.0) Use the network add-on instead.
    • Constructor Detail

      • ProxyParam

        public ProxyParam()
        Deprecated.
    • Method Detail

      • getProxyIp

        public java.lang.String getProxyIp()
        Deprecated.
      • getRawProxyIP

        public java.lang.String getRawProxyIP()
        Deprecated.
      • setProxyIp

        public void setProxyIp​(java.lang.String proxyIp)
        Deprecated.
      • getProxyPort

        public int getProxyPort()
        Deprecated.
      • setProxyPort

        public void setProxyPort​(int proxyPort)
        Deprecated.
      • getReverseProxyIp

        public java.lang.String getReverseProxyIp()
        Deprecated.
      • setReverseProxyIp

        public void setReverseProxyIp​(java.lang.String reverseProxyIp)
        Deprecated.
      • getReverseProxyHttpPort

        public int getReverseProxyHttpPort()
        Deprecated.
      • setReverseProxyHttpPort

        public void setReverseProxyHttpPort​(int reverseProxyHttpPort)
        Deprecated.
      • getReverseProxyHttpsPort

        public int getReverseProxyHttpsPort()
        Deprecated.
      • setReverseProxyHttpsPort

        public void setReverseProxyHttpsPort​(int reverseProxyHttpsPort)
        Deprecated.
      • isUseReverseProxy

        public boolean isUseReverseProxy()
        Deprecated.
      • setUseReverseProxy

        public void setUseReverseProxy​(boolean isUse)
        Deprecated.
      • setRemoveUnsupportedEncodings

        public void setRemoveUnsupportedEncodings​(boolean remove)
        Deprecated.
        Sets whether or not the local proxy should remove unsupported encodings from the "Accept-Encoding" request-header field.

        The whole header is removed if empty after the removal of unsupported encodings.

        Parameters:
        remove - true if the local proxy should remove unsupported encodings, false otherwise
        Since:
        2.6.0
        See Also:
        isRemoveUnsupportedEncodings()
      • isRemoveUnsupportedEncodings

        public boolean isRemoveUnsupportedEncodings()
        Deprecated.
        Tells whether or not the local proxy should remove unsupported encodings from the "Accept-Encoding" request-header field.

        The whole header is removed if empty after the removal of unsupported encodings.

        Returns:
        true if the local proxy should remove unsupported encodings, false otherwise
        Since:
        2.6.0
        See Also:
        setRemoveUnsupportedEncodings(boolean)
      • isAlwaysDecodeGzip

        public boolean isAlwaysDecodeGzip()
        Deprecated.
        Tells whether the proxy should always decode gzipped content or not.
        Returns:
        true if the proxy should always decode gzipped content, false otherwise
      • setAlwaysDecodeGzip

        public void setAlwaysDecodeGzip​(boolean alwaysDecodeGzip)
        Deprecated.
        Sets whether the proxy should always decode gzipped content or not.
        Parameters:
        alwaysDecodeGzip - true if the proxy should always decode gzipped content, false otherwise
      • getSecurityProtocolsEnabled

        public java.lang.String[] getSecurityProtocolsEnabled()
        Deprecated.
        Returns the security protocols enabled (SSL/TLS) for outgoing connections.
        Returns:
        the security protocols enabled for outgoing connections.
        Since:
        2.3.0
      • setSecurityProtocolsEnabled

        public void setSecurityProtocolsEnabled​(java.lang.String[] enabledProtocols)
        Deprecated.
        Sets the security protocols enabled (SSL/TLS) for outgoing connections.

        The call has no effect if the given array is null or empty.

        Parameters:
        enabledProtocols - the security protocols enabled (SSL/TLS) for outgoing connections.
        Throws:
        java.lang.IllegalArgumentException - if at least one of the enabledProtocols is null or empty.
        Since:
        2.3.0
      • isProxyIpAnyLocalAddress

        public boolean isProxyIpAnyLocalAddress()
        Deprecated.
        Tells whether or not the proxy IP is set to listen on any local address.
        Returns:
        true if the proxy IP is set to listen on any local address, false otherwise.
        See Also:
        determineProxyIpAnyLocalAddress(), getProxyIp()
      • isBehindNat

        public boolean isBehindNat()
        Deprecated.
        Tells whether or not the proxy is behind NAT.
        Returns:
        true if the proxy is behind NAT, false otherwise.
      • setBehindNat

        public void setBehindNat​(boolean behindNat)
        Deprecated.
        Sets whether or not the proxy is behind NAT.
        Parameters:
        behindNat - true if the proxy is behind NAT, false otherwise.