Class ProxyRequest

  • Direct Known Subclasses:
    HttpProxyRequest, SocksProxyRequest

    public abstract class ProxyRequest
    extends java.lang.Object
    ProxyRequest.java - Abstract wrapper class for proxy requests.
    Since:
    MINA 2.0.0-M3
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.net.InetSocketAddress endpointAddress
      The address of the request endpoint.
    • Constructor Summary

      Constructors 
      Constructor Description
      ProxyRequest()
      Implicit constructor.
      ProxyRequest​(java.net.InetSocketAddress endpointAddress)
      Basic constructor of a ProxyRequest that only sets the address of the request endpoint.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.net.InetSocketAddress getEndpointAddress()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • endpointAddress

        private java.net.InetSocketAddress endpointAddress
        The address of the request endpoint.
    • Constructor Detail

      • ProxyRequest

        public ProxyRequest()
        Implicit constructor.
      • ProxyRequest

        public ProxyRequest​(java.net.InetSocketAddress endpointAddress)
        Basic constructor of a ProxyRequest that only sets the address of the request endpoint.
        Parameters:
        endpointAddress - the address of the request endpoint.
    • Method Detail

      • getEndpointAddress

        public java.net.InetSocketAddress getEndpointAddress()
        Returns:
        the address of the request endpoint