protected static class AjpProtocol.AjpConnectionHandler extends AbstractAjpProtocol.AbstractAjpConnectionHandler<Socket,AjpProcessor> implements JIoEndpoint.Handler
AbstractEndpoint.Handler.SocketState
Modifier and Type | Field and Description |
---|---|
protected AjpProtocol |
proto |
connections, global, recycledProcessors, registerCount
Constructor and Description |
---|
AjpProtocol.AjpConnectionHandler(AjpProtocol proto) |
Modifier and Type | Method and Description |
---|---|
protected AjpProcessor |
createProcessor() |
protected Log |
getLog() |
protected AbstractProtocol<Socket> |
getProtocol() |
SSLImplementation |
getSslImplementation() |
void |
release(SocketWrapper<Socket> socket,
Processor<Socket> processor,
boolean isSocketClosing,
boolean addToPoller)
Expected to be used by the handler once the processor is no longer
required.
|
createUpgradeProcessor, createUpgradeProcessor, initSsl, longPoll
getGlobal, isAvailable, process, recycle, register, unregister
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isAvailable, process
getGlobal, recycle
protected AjpProtocol proto
public AjpProtocol.AjpConnectionHandler(AjpProtocol proto)
protected AbstractProtocol<Socket> getProtocol()
getProtocol
in class AbstractProtocol.AbstractConnectionHandler<Socket,AjpProcessor>
protected Log getLog()
getLog
in class AbstractProtocol.AbstractConnectionHandler<Socket,AjpProcessor>
public SSLImplementation getSslImplementation()
getSslImplementation
in interface JIoEndpoint.Handler
public void release(SocketWrapper<Socket> socket, Processor<Socket> processor, boolean isSocketClosing, boolean addToPoller)
release
in class AbstractProtocol.AbstractConnectionHandler<Socket,AjpProcessor>
socket
- Ignored for BIOprocessor
- The process that was processing this
connection and is no longer requiredisSocketClosing
- Is the socket associated with this
connection in the process of closingaddToPoller
- Ignored for BIOprotected AjpProcessor createProcessor()
createProcessor
in class AbstractProtocol.AbstractConnectionHandler<Socket,AjpProcessor>
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.