public final class ProxyConnectionEvent
extends java.lang.Object
构造器和说明 |
---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
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
在类中 java.lang.Object