Class ProxyConnectionEvent


  • public final class ProxyConnectionEvent
    extends java.lang.Object
    • 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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String authScheme()
      Returns the name of the authentication scheme in use.
      <T extends java.net.SocketAddress>
      T
      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>
      T
      proxyAddress()
      Returns the address of the proxy server.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • 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 Detail

      • 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