protected static class AjpNioProtocol.AjpConnectionHandler extends AbstractAjpProtocol.AbstractAjpConnectionHandler<NioChannel,AjpNioProcessor> implements NioEndpoint.Handler
AbstractEndpoint.Handler.SocketState
Modifier and Type | Field and Description |
---|---|
protected AjpNioProtocol |
proto |
connections, global, recycledProcessors, registerCount
Constructor and Description |
---|
AjpNioProtocol.AjpConnectionHandler(AjpNioProtocol proto) |
Modifier and Type | Method and Description |
---|---|
protected AjpNioProcessor |
createProcessor() |
protected Log |
getLog() |
protected AbstractProtocol<NioChannel> |
getProtocol() |
SSLImplementation |
getSslImplementation() |
void |
release(SocketChannel socket)
Expected to be used by the Poller to release resources on socket
close, errors etc.
|
void |
release(SocketWrapper<NioChannel> socket)
Expected to be used by the Poller to release resources on socket
close, errors etc.
|
void |
release(SocketWrapper<NioChannel> socket,
Processor<NioChannel> 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 AjpNioProtocol proto
public AjpNioProtocol.AjpConnectionHandler(AjpNioProtocol proto)
protected AbstractProtocol<NioChannel> getProtocol()
getProtocol
in class AbstractProtocol.AbstractConnectionHandler<NioChannel,AjpNioProcessor>
protected Log getLog()
getLog
in class AbstractProtocol.AbstractConnectionHandler<NioChannel,AjpNioProcessor>
public SSLImplementation getSslImplementation()
getSslImplementation
in interface NioEndpoint.Handler
public void release(SocketChannel socket)
release
in interface NioEndpoint.Handler
public void release(SocketWrapper<NioChannel> socket)
release
in interface NioEndpoint.Handler
public void release(SocketWrapper<NioChannel> socket, Processor<NioChannel> processor, boolean isSocketClosing, boolean addToPoller)
release
in class AbstractProtocol.AbstractConnectionHandler<NioChannel,AjpNioProcessor>
protected AjpNioProcessor createProcessor()
createProcessor
in class AbstractProtocol.AbstractConnectionHandler<NioChannel,AjpNioProcessor>
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.