Class ProxyConnectionEvent

java.lang.Object
io.netty.handler.proxy.ProxyConnectionEvent

public final class ProxyConnectionEvent extends Object
  • Field Details

    • protocol

      private final String protocol
    • authScheme

      private final String authScheme
    • proxyAddress

      private final SocketAddress proxyAddress
    • destinationAddress

      private final SocketAddress destinationAddress
    • strVal

      private String strVal
  • Constructor Details

    • ProxyConnectionEvent

      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 Details

    • protocol

      public String protocol()
      Returns the name of the proxy protocol in use.
    • authScheme

      public String authScheme()
      Returns the name of the authentication scheme in use.
    • proxyAddress

      public <T extends SocketAddress> T proxyAddress()
      Returns the address of the proxy server.
    • destinationAddress

      public <T extends SocketAddress> T destinationAddress()
      Returns the address of the destination.
    • toString

      public String toString()
      Overrides:
      toString in class Object