Class AbstractProtocol.ConnectionHandler<S>
java.lang.Object
org.apache.coyote.AbstractProtocol.ConnectionHandler<S>
- All Implemented Interfaces:
- AbstractEndpoint.Handler<S>
- Enclosing class:
- AbstractProtocol<S>
protected static class AbstractProtocol.ConnectionHandler<S>
extends Object
implements AbstractEndpoint.Handler<S>
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.apache.tomcat.util.net.AbstractEndpoint.HandlerAbstractEndpoint.Handler.SocketState
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionObtain the GlobalRequestProcessor associated with the handler.protected LoggetLog()protected AbstractProtocol<S> protected voidlongPoll(SocketWrapperBase<?> socket, Processor processor) final voidpause()Inform the handler that the endpoint has stopped accepting any new connections.process(SocketWrapperBase<S> wrapper, SocketEvent status) Process the provided socket with the given current status.voidrecycle()Recycle resources associated with the handler.protected voidvoidrelease(SocketWrapperBase<S> socketWrapper) Release any resources associated with the given SocketWrapper.protected voidunregister(Processor processor) 
- 
Constructor Details- 
ConnectionHandler
 
- 
- 
Method Details- 
getProtocol
- 
getLog
- 
getGlobalDescription copied from interface:AbstractEndpoint.HandlerObtain the GlobalRequestProcessor associated with the handler.- Specified by:
- getGlobalin interface- AbstractEndpoint.Handler<S>
- Returns:
- the GlobalRequestProcessor
 
- 
recyclepublic void recycle()Description copied from interface:AbstractEndpoint.HandlerRecycle resources associated with the handler.- Specified by:
- recyclein interface- AbstractEndpoint.Handler<S>
 
- 
processpublic AbstractEndpoint.Handler.SocketState process(SocketWrapperBase<S> wrapper, SocketEvent status) Description copied from interface:AbstractEndpoint.HandlerProcess the provided socket with the given current status.- Specified by:
- processin interface- AbstractEndpoint.Handler<S>
- Parameters:
- wrapper- The socket to process
- status- The current socket status
- Returns:
- The state of the socket after processing
 
- 
longPoll
- 
releaseDescription copied from interface:AbstractEndpoint.HandlerRelease any resources associated with the given SocketWrapper.- Specified by:
- releasein interface- AbstractEndpoint.Handler<S>
- Parameters:
- socketWrapper- The socketWrapper to release resources for
 
- 
register
- 
unregister
- 
pausepublic final void pause()Description copied from interface:AbstractEndpoint.HandlerInform the handler that the endpoint has stopped accepting any new connections. Typically, the endpoint will be stopped shortly afterwards but it is possible that the endpoint will be resumed so the handler should not assume that a stop will follow.- Specified by:
- pausein interface- AbstractEndpoint.Handler<S>
 
 
-