protected static class AjpNio2Protocol.AjpConnectionHandler extends AbstractAjpProtocol.AbstractAjpConnectionHandler<Nio2Channel,AjpNio2Processor> implements Nio2Endpoint.Handler
AbstractEndpoint.Handler.SocketState| Modifier and Type | Field and Description |
|---|---|
protected AjpNio2Protocol |
proto |
connections, global, recycledProcessors, registerCount| Constructor and Description |
|---|
AjpNio2Protocol.AjpConnectionHandler(AjpNio2Protocol proto) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeAll() |
protected AjpNio2Processor |
createProcessor() |
protected Log |
getLog() |
protected AbstractProtocol<Nio2Channel> |
getProtocol() |
SSLImplementation |
getSslImplementation() |
void |
onCreateSSLEngine(SSLEngine engine) |
void |
release(SocketWrapper<Nio2Channel> socket)
Expected to be used by the Poller to release resources on socket
close, errors etc.
|
void |
release(SocketWrapper<Nio2Channel> socket,
Processor<Nio2Channel> processor,
boolean isSocketClosing,
boolean addToPoller)
Expected to be used by the handler once the processor is no longer
required.
|
createUpgradeProcessor, initSsl, longPollgetGlobal, process, recycle, register, unregisterclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprocessgetGlobal, recycleprotected final AjpNio2Protocol proto
public AjpNio2Protocol.AjpConnectionHandler(AjpNio2Protocol proto)
protected AbstractProtocol<Nio2Channel> getProtocol()
getProtocol in class AbstractProtocol.AbstractConnectionHandler<Nio2Channel,AjpNio2Processor>protected Log getLog()
getLog in class AbstractProtocol.AbstractConnectionHandler<Nio2Channel,AjpNio2Processor>public SSLImplementation getSslImplementation()
getSslImplementation in interface Nio2Endpoint.Handlerpublic void release(SocketWrapper<Nio2Channel> socket)
release in interface Nio2Endpoint.Handlerpublic void release(SocketWrapper<Nio2Channel> socket, Processor<Nio2Channel> processor, boolean isSocketClosing, boolean addToPoller)
release in class AbstractProtocol.AbstractConnectionHandler<Nio2Channel,AjpNio2Processor>protected AjpNio2Processor createProcessor()
createProcessor in class AbstractProtocol.AbstractConnectionHandler<Nio2Channel,AjpNio2Processor>public void onCreateSSLEngine(SSLEngine engine)
onCreateSSLEngine in interface Nio2Endpoint.Handlerpublic void closeAll()
closeAll in interface Nio2Endpoint.HandlerCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.