Package org.microproxy
Class ChainedProxyAdapter
java.lang.Object
org.microproxy.ChainedProxyAdapter
- All Implemented Interfaces:
ChainedProxy,SslContextSource
Base
ChainedProxy implementation.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ChainedProxyAdd this to the queue inChainedProxyManager.lookupChainedProxies(org.microproxy.http.HttpRequest, java.util.Queue<org.microproxy.ChainedProxy>, org.microproxy.ClientDetails)to connect directly to the server. -
Constructor Summary
ConstructorsConstructorDescriptionCreates an adapter using the default HTTP upstream proxy behavior. -
Method Summary
Modifier and TypeMethodDescriptionReturns the upstream proxy address.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.microproxy.ChainedProxy
connectionFailed, connectionSucceeded, disconnected, filterRequest, getChainedProxyType, getLocalAddress, getPassword, getSslContext, getUsername, http2, requiresEncryptionMethods inherited from interface org.microproxy.SslContextSource
configure, getKeyMaterial
-
Field Details
-
FALLBACK_TO_DIRECT_CONNECTION
Add this to the queue inChainedProxyManager.lookupChainedProxies(org.microproxy.http.HttpRequest, java.util.Queue<org.microproxy.ChainedProxy>, org.microproxy.ClientDetails)to connect directly to the server.
-
-
Constructor Details
-
ChainedProxyAdapter
public ChainedProxyAdapter()Creates an adapter using the default HTTP upstream proxy behavior.
-
-
Method Details
-
getChainedProxyAddress
Description copied from interface:ChainedProxyReturns the upstream proxy address.- Specified by:
getChainedProxyAddressin interfaceChainedProxy- Returns:
- the upstream proxy address
-