public final class ProxyConnectionEvent
extends java.lang.Object
| Constructor and 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.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
authScheme()
Returns the name of the authentication scheme in use.
|
<T extends java.net.SocketAddress> |
destinationAddress()
Returns the address of the destination.
|
java.lang.String |
protocol()
Returns the name of the proxy protocol in use.
|
<T extends java.net.SocketAddress> |
proxyAddress()
Returns the address of the proxy server.
|
java.lang.String |
toString() |
public ProxyConnectionEvent(java.lang.String protocol,
java.lang.String authScheme,
java.net.SocketAddress proxyAddress,
java.net.SocketAddress destinationAddress)
public java.lang.String protocol()
public java.lang.String authScheme()
public <T extends java.net.SocketAddress> T proxyAddress()
public <T extends java.net.SocketAddress> T destinationAddress()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2008–2019 The Netty Project. All rights reserved.