Apache Tomcat 7.0.16

org.apache.coyote.http11
Class Http11NioProtocol.Http11ConnectionHandler

java.lang.Object
  extended by org.apache.coyote.AbstractProtocol.AbstractConnectionHandler
      extended by org.apache.coyote.http11.Http11NioProtocol.Http11ConnectionHandler
All Implemented Interfaces:
AbstractEndpoint.Handler, NioEndpoint.Handler
Enclosing class:
Http11NioProtocol

protected static class Http11NioProtocol.Http11ConnectionHandler
extends AbstractProtocol.AbstractConnectionHandler
implements NioEndpoint.Handler


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.tomcat.util.net.AbstractEndpoint.Handler
AbstractEndpoint.Handler.SocketState
 
Field Summary
protected  ConcurrentHashMap<NioChannel,Http11NioProcessor> connections
           
protected  Http11NioProtocol proto
           
protected  AbstractProtocol.RecycledProcessors<Http11NioProcessor> recycledProcessors
           
 
Fields inherited from class org.apache.coyote.AbstractProtocol.AbstractConnectionHandler
global, registerCount
 
Method Summary
 Http11NioProcessor createProcessor()
           
 AbstractEndpoint.Handler.SocketState event(NioChannel socket, SocketStatus status)
           
protected  Log getLog()
           
protected  AbstractProtocol getProtocol()
           
 SSLImplementation getSslImplementation()
           
 AbstractEndpoint.Handler.SocketState process(NioChannel socket)
           
 void recycle()
          Recycle resources associated with the handler.
 void release(NioChannel socket)
          Use this only if the processor is not available, otherwise use release(NioChannel, Http11NioProcessor).
 void release(NioChannel socket, Http11NioProcessor processor)
           
 void release(SocketChannel socket)
           
 
Methods inherited from class org.apache.coyote.AbstractProtocol.AbstractConnectionHandler
getGlobal, register, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.tomcat.util.net.AbstractEndpoint.Handler
getGlobal
 

Field Detail

proto

protected Http11NioProtocol proto

connections

protected ConcurrentHashMap<NioChannel,Http11NioProcessor> connections

recycledProcessors

protected AbstractProtocol.RecycledProcessors<Http11NioProcessor> recycledProcessors
Method Detail

getProtocol

protected AbstractProtocol getProtocol()
Specified by:
getProtocol in class AbstractProtocol.AbstractConnectionHandler

getLog

protected Log getLog()
Specified by:
getLog in class AbstractProtocol.AbstractConnectionHandler

getSslImplementation

public SSLImplementation getSslImplementation()
Specified by:
getSslImplementation in interface NioEndpoint.Handler

recycle

public void recycle()
Description copied from interface: AbstractEndpoint.Handler
Recycle resources associated with the handler.

Specified by:
recycle in interface AbstractEndpoint.Handler

release

public void release(SocketChannel socket)
Specified by:
release in interface NioEndpoint.Handler

release

public void release(NioChannel socket)
Use this only if the processor is not available, otherwise use release(NioChannel, Http11NioProcessor).

Specified by:
release in interface NioEndpoint.Handler

release

public void release(NioChannel socket,
                    Http11NioProcessor processor)

event

public AbstractEndpoint.Handler.SocketState event(NioChannel socket,
                                                  SocketStatus status)
Specified by:
event in interface NioEndpoint.Handler

process

public AbstractEndpoint.Handler.SocketState process(NioChannel socket)
Specified by:
process in interface NioEndpoint.Handler

createProcessor

public Http11NioProcessor createProcessor()

Apache Tomcat 7.0.16

Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.