Class ProxyConnectionEvent


  • public final class ProxyConnectionEvent
    extends Object
    • Constructor Detail

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

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