protected static class AjpProtocol.AjpConnectionHandler extends AbstractAjpProtocol.AbstractAjpConnectionHandler<java.net.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<java.net.Socket> socket) |
protected AjpProcessor |
createProcessor() |
protected Log |
getLog() |
protected AbstractProtocol<java.net.Socket> |
getProtocol() |
SSLImplementation |
getSslImplementation() |
void |
release(SocketWrapper<java.net.Socket> socket,
Processor<java.net.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<java.net.Socket> getProtocol()
getProtocol
in class AbstractProtocol.AbstractConnectionHandler<java.net.Socket,AjpProcessor>
protected Log getLog()
getLog
in class AbstractProtocol.AbstractConnectionHandler<java.net.Socket,AjpProcessor>
public SSLImplementation getSslImplementation()
getSslImplementation
in interface JIoEndpoint.Handler
public void release(SocketWrapper<java.net.Socket> socket, Processor<java.net.Socket> processor, boolean isSocketClosing, boolean addToPoller)
release
in class AbstractProtocol.AbstractConnectionHandler<java.net.Socket,AjpProcessor>
socket
- Ignored for BIOprocessor
- isSocketClosing
- addToPoller
- Ignored for BIOprotected AjpProcessor createProcessor()
createProcessor
in class AbstractProtocol.AbstractConnectionHandler<java.net.Socket,AjpProcessor>
public void beforeHandshake(SocketWrapper<java.net.Socket> socket)
beforeHandshake
in interface JIoEndpoint.Handler
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.