Class InternalIODispatch

java.lang.Object
org.apache.http.impl.nio.reactor.AbstractIODispatch<org.apache.http.impl.nio.DefaultNHttpClientConnection>
org.apache.http.impl.nio.client.InternalIODispatch
All Implemented Interfaces:
org.apache.http.nio.reactor.IOEventDispatch

class InternalIODispatch extends org.apache.http.impl.nio.reactor.AbstractIODispatch<org.apache.http.impl.nio.DefaultNHttpClientConnection>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final org.apache.http.nio.NHttpClientEventHandler
     
    private final org.apache.commons.logging.Log
     

    Fields inherited from interface org.apache.http.nio.reactor.IOEventDispatch

    CONNECTION_KEY
  • Constructor Summary

    Constructors
    Constructor
    Description
    InternalIODispatch(org.apache.http.nio.NHttpClientEventHandler handler)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.apache.http.impl.nio.DefaultNHttpClientConnection
    createConnection(org.apache.http.nio.reactor.IOSession session)
     
    protected void
    onClosed(org.apache.http.impl.nio.DefaultNHttpClientConnection conn)
     
    protected void
    onConnected(org.apache.http.impl.nio.DefaultNHttpClientConnection conn)
     
    protected void
    onException(org.apache.http.impl.nio.DefaultNHttpClientConnection conn, IOException ex)
     
    protected void
    onInputReady(org.apache.http.impl.nio.DefaultNHttpClientConnection conn)
     
    protected void
    onOutputReady(org.apache.http.impl.nio.DefaultNHttpClientConnection conn)
     
    protected void
    onTimeout(org.apache.http.impl.nio.DefaultNHttpClientConnection conn)
     

    Methods inherited from class org.apache.http.impl.nio.reactor.AbstractIODispatch

    connected, disconnected, inputReady, outputReady, timeout

    Methods inherited from class java.lang.Object

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

    • log

      private final org.apache.commons.logging.Log log
    • handler

      private final org.apache.http.nio.NHttpClientEventHandler handler
  • Constructor Details

    • InternalIODispatch

      public InternalIODispatch(org.apache.http.nio.NHttpClientEventHandler handler)
  • Method Details

    • createConnection

      protected org.apache.http.impl.nio.DefaultNHttpClientConnection createConnection(org.apache.http.nio.reactor.IOSession session)
      Specified by:
      createConnection in class org.apache.http.impl.nio.reactor.AbstractIODispatch<org.apache.http.impl.nio.DefaultNHttpClientConnection>
    • onConnected

      protected void onConnected(org.apache.http.impl.nio.DefaultNHttpClientConnection conn)
      Specified by:
      onConnected in class org.apache.http.impl.nio.reactor.AbstractIODispatch<org.apache.http.impl.nio.DefaultNHttpClientConnection>
    • onClosed

      protected void onClosed(org.apache.http.impl.nio.DefaultNHttpClientConnection conn)
      Specified by:
      onClosed in class org.apache.http.impl.nio.reactor.AbstractIODispatch<org.apache.http.impl.nio.DefaultNHttpClientConnection>
    • onException

      protected void onException(org.apache.http.impl.nio.DefaultNHttpClientConnection conn, IOException ex)
      Specified by:
      onException in class org.apache.http.impl.nio.reactor.AbstractIODispatch<org.apache.http.impl.nio.DefaultNHttpClientConnection>
    • onInputReady

      protected void onInputReady(org.apache.http.impl.nio.DefaultNHttpClientConnection conn)
      Specified by:
      onInputReady in class org.apache.http.impl.nio.reactor.AbstractIODispatch<org.apache.http.impl.nio.DefaultNHttpClientConnection>
    • onOutputReady

      protected void onOutputReady(org.apache.http.impl.nio.DefaultNHttpClientConnection conn)
      Specified by:
      onOutputReady in class org.apache.http.impl.nio.reactor.AbstractIODispatch<org.apache.http.impl.nio.DefaultNHttpClientConnection>
    • onTimeout

      protected void onTimeout(org.apache.http.impl.nio.DefaultNHttpClientConnection conn)
      Specified by:
      onTimeout in class org.apache.http.impl.nio.reactor.AbstractIODispatch<org.apache.http.impl.nio.DefaultNHttpClientConnection>