Top Fields Constructors Methods
io.netty.handler.proxy

public final Class ProxyConnectionEvent

extends Object
Class Inheritance
Imports
io.netty.util.internal.ObjectUtil, .StringUtil, java.net.SocketAddress

Field Summary

Modifier and TypeField and Description
private final String
private final SocketAddress
private final String
private final SocketAddress
private String

Constructor Summary

AccessConstructor and Description
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 Summary

Modifier and TypeMethod and Description
public String
authScheme()

Returns the name of the authentication scheme in use.

public <T extends SocketAddress> T
destinationAddress()

Returns the address of the destination.

public String
protocol()

Returns the name of the proxy protocol in use.

public <T extends SocketAddress> T
proxyAddress()

Returns the address of the proxy server.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

authSchemeback to summary
private final String authScheme
destinationAddressback to summary
private final SocketAddress destinationAddress
protocolback to summary
private final String protocol
proxyAddressback to summary
private final SocketAddress proxyAddress
strValback to summary
private String strVal

Constructor Detail

ProxyConnectionEventback to summary
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 Detail

authSchemeback to summary
public String authScheme()

Returns the name of the authentication scheme in use.

destinationAddressback to summary
public <T extends SocketAddress> T destinationAddress()

Returns the address of the destination.

Annotations
@SuppressWarnings:unchecked
protocolback to summary
public String protocol()

Returns the name of the proxy protocol in use.

proxyAddressback to summary
public <T extends SocketAddress> T proxyAddress()

Returns the address of the proxy server.

Annotations
@SuppressWarnings:unchecked
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override