Package org.parosproxy.paros.core.proxy
Class ProxyParam
- java.lang.Object
-
- org.parosproxy.paros.common.AbstractParam
-
- org.parosproxy.paros.core.proxy.ProxyParam
-
- All Implemented Interfaces:
java.lang.Cloneable
@Deprecated public class ProxyParam extends AbstractParam
Deprecated.(2.12.0) Use the network add-on instead.
-
-
Constructor Summary
Constructors Constructor Description ProxyParam()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
getProxyIp()
Deprecated.int
getProxyPort()
Deprecated.java.lang.String
getRawProxyIP()
Deprecated.int
getReverseProxyHttpPort()
Deprecated.int
getReverseProxyHttpsPort()
Deprecated.java.lang.String
getReverseProxyIp()
Deprecated.java.lang.String[]
getSecurityProtocolsEnabled()
Deprecated.Returns the security protocols enabled (SSL/TLS) for outgoing connections.boolean
isAlwaysDecodeGzip()
Deprecated.Tells whether the proxy should always decode gzipped content or not.boolean
isBehindNat()
Deprecated.Tells whether or not the proxy is behind NAT.boolean
isProxyIpAnyLocalAddress()
Deprecated.Tells whether or not the proxy IP is set to listen on any local address.boolean
isRemoveUnsupportedEncodings()
Deprecated.Tells whether or not the local proxy should remove unsupported encodings from the "Accept-Encoding" request-header field.boolean
isUseReverseProxy()
Deprecated.protected void
parse()
Deprecated.Parses the configurations.void
setAlwaysDecodeGzip(boolean alwaysDecodeGzip)
Deprecated.Sets whether the proxy should always decode gzipped content or not.void
setBehindNat(boolean behindNat)
Deprecated.Sets whether or not the proxy is behind NAT.void
setProxyIp(java.lang.String proxyIp)
Deprecated.void
setProxyPort(int proxyPort)
Deprecated.void
setRemoveUnsupportedEncodings(boolean remove)
Deprecated.Sets whether or not the local proxy should remove unsupported encodings from the "Accept-Encoding" request-header field.void
setReverseProxyHttpPort(int reverseProxyHttpPort)
Deprecated.void
setReverseProxyHttpsPort(int reverseProxyHttpsPort)
Deprecated.void
setReverseProxyIp(java.lang.String reverseProxyIp)
Deprecated.void
setSecurityProtocolsEnabled(java.lang.String[] enabledProtocols)
Deprecated.Sets the security protocols enabled (SSL/TLS) for outgoing connections.void
setUseReverseProxy(boolean isUse)
Deprecated.-
Methods inherited from class org.parosproxy.paros.common.AbstractParam
clone, getBoolean, getConfig, getInt, getInteger, getString, load, load, load, logConversionException, reset
-
-
-
-
Method Detail
-
parse
protected void parse()
Deprecated.Description copied from class:AbstractParam
Parses the configurations.Called each time the configurations are loaded.
- Specified by:
parse
in classAbstractParam
- See Also:
AbstractParam.getConfig()
-
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 theenabledProtocols
isnull
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.
-
-