Class SSLClientIOEventDispatch

java.lang.Object
org.apache.http.impl.nio.SSLClientIOEventDispatch
All Implemented Interfaces:
IOEventDispatch

@Deprecated public class SSLClientIOEventDispatch extends Object implements IOEventDispatch
Deprecated.
Default implementation of IOEventDispatch interface for SSL (encrypted) client-side HTTP connections.
Since:
4.0
  • Constructor Details

    • SSLClientIOEventDispatch

      public SSLClientIOEventDispatch(NHttpClientHandler handler, SSLContext sslContext, SSLIOSessionHandler sslHandler, HttpParams params)
      Deprecated.
      Creates a new instance of this class to be used for dispatching I/O event notifications to the given protocol handler using the given SSLContext. This I/O dispatcher will transparently handle SSL protocol aspects for HTTP connections.
      Parameters:
      handler - the client protocol handler.
      sslContext - the SSL context.
      sslHandler - the SSL handler.
      params - HTTP parameters.
    • SSLClientIOEventDispatch

      public SSLClientIOEventDispatch(NHttpClientHandler handler, SSLContext sslContext, HttpParams params)
      Deprecated.
      Creates a new instance of this class to be used for dispatching I/O event notifications to the given protocol handler using the given SSLContext. This I/O dispatcher will transparently handle SSL protocol aspects for HTTP connections.
      Parameters:
      handler - the client protocol handler.
      sslContext - the SSL context.
      params - HTTP parameters.
  • Method Details

    • connected

      public void connected(IOSession session)
      Deprecated.
      Description copied from interface: IOEventDispatch
      Triggered after the given session has been just created.
      Specified by:
      connected in interface IOEventDispatch
      Parameters:
      session - the I/O session.
    • disconnected

      public void disconnected(IOSession session)
      Deprecated.
      Description copied from interface: IOEventDispatch
      Triggered when the given session has been terminated.
      Specified by:
      disconnected in interface IOEventDispatch
      Parameters:
      session - the I/O session.
    • inputReady

      public void inputReady(IOSession session)
      Deprecated.
      Description copied from interface: IOEventDispatch
      Triggered when the given session has input pending.
      Specified by:
      inputReady in interface IOEventDispatch
      Parameters:
      session - the I/O session.
    • outputReady

      public void outputReady(IOSession session)
      Deprecated.
      Description copied from interface: IOEventDispatch
      Triggered when the given session is ready for output.
      Specified by:
      outputReady in interface IOEventDispatch
      Parameters:
      session - the I/O session.
    • timeout

      public void timeout(IOSession session)
      Deprecated.
      Description copied from interface: IOEventDispatch
      Triggered when the given session as timed out.
      Specified by:
      timeout in interface IOEventDispatch
      Parameters:
      session - the I/O session.