Class ProxyConnectionEvent
java.lang.Object
io.netty.handler.proxy.ProxyConnectionEvent
-
Constructor Summary
ConstructorsConstructorDescriptionProxyConnectionEvent(String protocol, String authScheme, SocketAddress proxyAddress, SocketAddress destinationAddress) Creates a new event that indicates a successful connection attempt to the destination address. -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the authentication scheme in use.<T extends SocketAddress>
TReturns the address of the destination.protocol()Returns the name of the proxy protocol in use.<T extends SocketAddress>
TReturns the address of the proxy server.toString()
-
Constructor Details
-
ProxyConnectionEvent
public ProxyConnectionEvent(String protocol, String authScheme, SocketAddress proxyAddress, SocketAddress destinationAddress) Creates a new event that indicates a successful connection attempt to the destination address.
-
-
Method Details
-
protocol
Returns the name of the proxy protocol in use. -
authScheme
Returns the name of the authentication scheme in use. -
proxyAddress
Returns the address of the proxy server. -
destinationAddress
Returns the address of the destination. -
toString
-