public final class ProxyConnectionEvent extends Object
Constructor and Description |
---|
ProxyConnectionEvent(String protocol,
String authScheme,
SocketAddress proxyAddress,
SocketAddress destinationAddress)
Creates a new event that indicates a successful connection attempt to the destination address.
|
Modifier and Type | Method and Description |
---|---|
String |
authScheme()
Returns the name of the authentication scheme in use.
|
<T extends SocketAddress> |
destinationAddress()
Returns the address of the destination.
|
String |
protocol()
Returns the name of the proxy protocol in use.
|
<T extends SocketAddress> |
proxyAddress()
Returns the address of the proxy server.
|
String |
toString() |
public ProxyConnectionEvent(String protocol, String authScheme, SocketAddress proxyAddress, SocketAddress destinationAddress)
public String protocol()
public String authScheme()
public <T extends SocketAddress> T proxyAddress()
public <T extends SocketAddress> T destinationAddress()
Copyright © 2008–2017 The Netty Project. All rights reserved.