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 |
---|---|
void |
beforeHandshake(SocketWrapper<Socket> socket) |
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, initSsl, longPoll
getGlobal, process, recycle, register, unregister
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
process
getGlobal, recycle
protected final 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
- isSocketClosing
- addToPoller
- Ignored for BIOprotected AjpProcessor createProcessor()
createProcessor
in class AbstractProtocol.AbstractConnectionHandler<Socket,AjpProcessor>
public void beforeHandshake(SocketWrapper<Socket> socket)
beforeHandshake
in interface JIoEndpoint.Handler
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.