protected static class Http11AprProtocol.Http11ConnectionHandler extends AbstractProtocol.AbstractConnectionHandler<java.lang.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<java.lang.Long> |
createUpgradeProcessor(SocketWrapper<java.lang.Long> socket,
HttpUpgradeHandler httpUpgradeProcessor) |
protected Processor<java.lang.Long> |
createUpgradeProcessor(SocketWrapper<java.lang.Long> socket,
UpgradeInbound inbound)
Deprecated.
Will be removed in Tomcat 8.0.x.
|
protected Log |
getLog() |
protected AbstractProtocol<java.lang.Long> |
getProtocol() |
protected void |
initSsl(SocketWrapper<java.lang.Long> socket,
Processor<java.lang.Long> processor) |
protected void |
longPoll(SocketWrapper<java.lang.Long> socket,
Processor<java.lang.Long> processor) |
void |
recycle()
Recycle resources associated with the handler.
|
void |
release(SocketWrapper<java.lang.Long> socket,
Processor<java.lang.Long> processor,
boolean isSocketClosing,
boolean addToPoller)
Expected to be used by the handler once the processor is no longer
required.
|
getGlobal, process, register, unregister
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
process
getGlobal
protected Http11AprProtocol proto
protected AbstractProtocol<java.lang.Long> getProtocol()
getProtocol
in class AbstractProtocol.AbstractConnectionHandler<java.lang.Long,Http11AprProcessor>
protected Log getLog()
getLog
in class AbstractProtocol.AbstractConnectionHandler<java.lang.Long,Http11AprProcessor>
public void recycle()
AbstractEndpoint.Handler
recycle
in interface AbstractEndpoint.Handler
recycle
in class AbstractProtocol.AbstractConnectionHandler<java.lang.Long,Http11AprProcessor>
public void release(SocketWrapper<java.lang.Long> socket, Processor<java.lang.Long> processor, boolean isSocketClosing, boolean addToPoller)
release
in class AbstractProtocol.AbstractConnectionHandler<java.lang.Long,Http11AprProcessor>
socket
- processor
- isSocketClosing
- Not used in HTTPaddToPoller
- protected void initSsl(SocketWrapper<java.lang.Long> socket, Processor<java.lang.Long> processor)
initSsl
in class AbstractProtocol.AbstractConnectionHandler<java.lang.Long,Http11AprProcessor>
protected void longPoll(SocketWrapper<java.lang.Long> socket, Processor<java.lang.Long> processor)
longPoll
in class AbstractProtocol.AbstractConnectionHandler<java.lang.Long,Http11AprProcessor>
protected Http11AprProcessor createProcessor()
createProcessor
in class AbstractProtocol.AbstractConnectionHandler<java.lang.Long,Http11AprProcessor>
@Deprecated protected Processor<java.lang.Long> createUpgradeProcessor(SocketWrapper<java.lang.Long> socket, UpgradeInbound inbound) throws java.io.IOException
createUpgradeProcessor
in class AbstractProtocol.AbstractConnectionHandler<java.lang.Long,Http11AprProcessor>
java.io.IOException
protected Processor<java.lang.Long> createUpgradeProcessor(SocketWrapper<java.lang.Long> socket, HttpUpgradeHandler httpUpgradeProcessor) throws java.io.IOException
createUpgradeProcessor
in class AbstractProtocol.AbstractConnectionHandler<java.lang.Long,Http11AprProcessor>
java.io.IOException
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.