Package io.netty.handler.proxy
Class ProxyConnectionEvent
- java.lang.Object
-
- io.netty.handler.proxy.ProxyConnectionEvent
-
public final class ProxyConnectionEvent extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ProxyConnectionEvent(java.lang.String protocol, java.lang.String authScheme, java.net.SocketAddress proxyAddress, java.net.SocketAddress destinationAddress)
Creates a new event that indicates a successful connection attempt to the destination address.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
authScheme()
Returns the name of the authentication scheme in use.<T extends java.net.SocketAddress>
TdestinationAddress()
Returns the address of the destination.java.lang.String
protocol()
Returns the name of the proxy protocol in use.<T extends java.net.SocketAddress>
TproxyAddress()
Returns the address of the proxy server.java.lang.String
toString()
-
-
-
Method Detail
-
protocol
public java.lang.String protocol()
Returns the name of the proxy protocol in use.
-
authScheme
public java.lang.String authScheme()
Returns the name of the authentication scheme in use.
-
proxyAddress
public <T extends java.net.SocketAddress> T proxyAddress()
Returns the address of the proxy server.
-
destinationAddress
public <T extends java.net.SocketAddress> T destinationAddress()
Returns the address of the destination.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-