|
Apache Tomcat 7.0.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.coyote.http11.AbstractHttp11Processor
org.apache.coyote.http11.Http11AprProcessor
public class Http11AprProcessor
Processes HTTP requests.
Field Summary | |
---|---|
protected boolean |
comet
Comet used. |
protected AprEndpoint |
endpoint
Associated endpoint. |
protected InternalAprInputBuffer |
inputBuffer
Input. |
protected InternalAprOutputBuffer |
outputBuffer
Output. |
protected AprEndpoint.SendfileData |
sendfileData
Sendfile data. |
protected SocketWrapper<Long> |
socket
Socket associated with the current connection. |
protected boolean |
ssl
SSL enabled ? |
Fields inherited from class org.apache.coyote.http11.AbstractHttp11Processor |
---|
adapter, asyncStateMachine, compressableMimeTypes, compressionLevel, compressionMinSize, contentDelimitation, disableUploadTimeout, error, expectation, hostNameC, http09, http11, isSecurityEnabled, keepAlive, keepAliveTimeout, localAddr, localName, localPort, maxKeepAliveRequests, maxSavePostSize, noCompressionUserAgents, remoteAddr, remoteHost, remotePort, request, response, restrictedUserAgents, server, sm, socketBuffer, timeout |
Constructor Summary | |
---|---|
Http11AprProcessor(int headerBufferSize,
AprEndpoint endpoint)
|
Method Summary | |
---|---|
void |
actionInternal(ActionCode actionCode,
Object param)
Send an action to the connector. |
AbstractEndpoint.Handler.SocketState |
asyncDispatch(SocketWrapper<Long> socket,
SocketStatus status)
|
AbstractEndpoint.Handler.SocketState |
event(SocketStatus status)
Process pipelined HTTP requests using the specified input and output streams. |
protected AbstractEndpoint |
getEndpoint()
|
Executor |
getExecutor()
|
protected AbstractInputBuffer |
getInputBuffer()
Exposes input buffer to super class to allow better code re-use. |
protected Log |
getLog()
|
protected AbstractOutputBuffer |
getOutputBuffer()
Exposes output buffer to super class to allow better code re-use. |
void |
parseHost(MessageBytes valueMB)
Parse host. |
protected void |
prepareRequest()
After reading the request headers, we have to setup the request filters. |
protected boolean |
prepareSendfile(OutputFilter[] outputFilters)
|
AbstractEndpoint.Handler.SocketState |
process(SocketWrapper<Long> socket)
Process pipelined HTTP requests using the specified input and output streams. |
void |
recycleInternal()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected InternalAprInputBuffer inputBuffer
protected InternalAprOutputBuffer outputBuffer
protected AprEndpoint.SendfileData sendfileData
protected boolean comet
protected boolean ssl
protected SocketWrapper<Long> socket
protected AprEndpoint endpoint
Constructor Detail |
---|
public Http11AprProcessor(int headerBufferSize, AprEndpoint endpoint)
Method Detail |
---|
protected Log getLog()
getLog
in class AbstractHttp11Processor
protected AbstractEndpoint getEndpoint()
public AbstractEndpoint.Handler.SocketState event(SocketStatus status) throws IOException
IOException
- error during an I/O operationpublic AbstractEndpoint.Handler.SocketState process(SocketWrapper<Long> socket) throws IOException
IOException
- error during an I/O operationpublic AbstractEndpoint.Handler.SocketState asyncDispatch(SocketWrapper<Long> socket, SocketStatus status)
public void recycleInternal()
recycleInternal
in class AbstractHttp11Processor
public void actionInternal(ActionCode actionCode, Object param)
actionCode
- Type of the actionparam
- Action parameterprotected void prepareRequest()
public void parseHost(MessageBytes valueMB)
protected boolean prepareSendfile(OutputFilter[] outputFilters)
protected AbstractInputBuffer getInputBuffer()
AbstractHttp11Processor
getInputBuffer
in class AbstractHttp11Processor
protected AbstractOutputBuffer getOutputBuffer()
AbstractHttp11Processor
getOutputBuffer
in class AbstractHttp11Processor
public Executor getExecutor()
getExecutor
in interface Processor
getExecutor
in class AbstractHttp11Processor
|
Apache Tomcat 7.0.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |