protected static class Http11AprProtocol.Http11ConnectionHandler extends AbstractProtocol.AbstractConnectionHandler<Long,Http11AprProcessor> implements AprEndpoint.Handler
AbstractEndpoint.Handler.SocketState
Modifier and Type | Field and Description |
---|---|
protected Http11AprProtocol |
proto |
connections, global, recycledProcessors, registerCount
Modifier and Type | Method and Description |
---|---|
protected Http11AprProcessor |
createProcessor() |
protected Processor<Long> |
createUpgradeProcessor(SocketWrapper<Long> socket,
HttpUpgradeHandler httpUpgradeProcessor) |
protected Processor<Long> |
createUpgradeProcessor(SocketWrapper<Long> socket,
UpgradeInbound inbound)
Deprecated.
Will be removed in Tomcat 8.0.x.
|
protected Log |
getLog() |
protected AbstractProtocol<Long> |
getProtocol() |
protected void |
initSsl(SocketWrapper<Long> socket,
Processor<Long> processor) |
protected void |
longPoll(SocketWrapper<Long> socket,
Processor<Long> processor) |
void |
recycle()
Recycle resources associated with the handler.
|
void |
release(SocketWrapper<Long> socket,
Processor<Long> processor,
boolean isSocketClosing,
boolean addToPoller)
Expected to be used by the handler once the processor is no longer
required.
|
getGlobal, isAvailable, process, register, unregister
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isAvailable, process
getGlobal
protected Http11AprProtocol proto
protected AbstractProtocol<Long> getProtocol()
getProtocol
in class AbstractProtocol.AbstractConnectionHandler<Long,Http11AprProcessor>
protected Log getLog()
getLog
in class AbstractProtocol.AbstractConnectionHandler<Long,Http11AprProcessor>
public void recycle()
AbstractEndpoint.Handler
recycle
in interface AbstractEndpoint.Handler
recycle
in class AbstractProtocol.AbstractConnectionHandler<Long,Http11AprProcessor>
public void release(SocketWrapper<Long> socket, Processor<Long> processor, boolean isSocketClosing, boolean addToPoller)
release
in class AbstractProtocol.AbstractConnectionHandler<Long,Http11AprProcessor>
socket
- processor
- isSocketClosing
- Not used in HTTPaddToPoller
- protected void initSsl(SocketWrapper<Long> socket, Processor<Long> processor)
initSsl
in class AbstractProtocol.AbstractConnectionHandler<Long,Http11AprProcessor>
protected void longPoll(SocketWrapper<Long> socket, Processor<Long> processor)
longPoll
in class AbstractProtocol.AbstractConnectionHandler<Long,Http11AprProcessor>
protected Http11AprProcessor createProcessor()
createProcessor
in class AbstractProtocol.AbstractConnectionHandler<Long,Http11AprProcessor>
@Deprecated protected Processor<Long> createUpgradeProcessor(SocketWrapper<Long> socket, UpgradeInbound inbound) throws IOException
AbstractProtocol.AbstractConnectionHandler
createUpgradeProcessor
in class AbstractProtocol.AbstractConnectionHandler<Long,Http11AprProcessor>
socket
- The socket associated with the connection to upgradeinbound
- Listener to which data available events should be
passedIOException
- if an I/O error occurred during the creation of
the Processorprotected Processor<Long> createUpgradeProcessor(SocketWrapper<Long> socket, HttpUpgradeHandler httpUpgradeProcessor) throws IOException
createUpgradeProcessor
in class AbstractProtocol.AbstractConnectionHandler<Long,Http11AprProcessor>
IOException
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.