Class ProxyConnectionEvent

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

public final class ProxyConnectionEvent extends java.lang.Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final java.lang.String
     
    private final java.net.SocketAddress
     
    private final java.lang.String
     
    private final java.net.SocketAddress
     
    private java.lang.String
     
  • Constructor Summary

    Constructors
    Constructor
    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.
  • Method Summary

    Modifier and Type
    Method
    Description
    java.lang.String
    Returns the name of the authentication scheme in use.
    <T extends java.net.SocketAddress>
    T
    Returns the address of the destination.
    java.lang.String
    Returns the name of the proxy protocol in use.
    <T extends java.net.SocketAddress>
    T
    Returns the address of the proxy server.
    java.lang.String
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • protocol

      private final java.lang.String protocol
    • authScheme

      private final java.lang.String authScheme
    • proxyAddress

      private final java.net.SocketAddress proxyAddress
    • destinationAddress

      private final java.net.SocketAddress destinationAddress
    • strVal

      private java.lang.String strVal
  • Constructor Details

    • ProxyConnectionEvent

      public 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.
  • Method Details

    • protocol

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

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

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

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

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object