| 
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.Http11Processor
public class Http11Processor
Processes HTTP requests.
| Field Summary | |
|---|---|
protected  JIoEndpoint | 
endpoint
Associated endpoint.  | 
protected  InternalInputBuffer | 
inputBuffer
Input.  | 
protected  InternalOutputBuffer | 
outputBuffer
Output.  | 
protected  SocketWrapper<Socket> | 
socket
Socket associated with the current connection.  | 
protected  SSLSupport | 
sslSupport
SSL information.  | 
| 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 | |
|---|---|
Http11Processor(int headerBufferSize,
                JIoEndpoint endpoint)
 | 
|
| Method Summary | |
|---|---|
 void | 
actionInternal(ActionCode actionCode,
               Object param)
Send an action to the connector.  | 
 AbstractEndpoint.Handler.SocketState | 
asyncDispatch(SocketStatus status)
 | 
protected  AbstractEndpoint | 
getEndpoint()
Expose the endpoint.  | 
 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.  | 
protected  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<Socket> socketWrapper)
Process pipelined HTTP requests on the specified socket.  | 
protected  void | 
recycleInternal()
 | 
 void | 
setSocketBuffer(int socketBuffer)
Set the socket buffer flag.  | 
 void | 
setSSLSupport(SSLSupport sslSupport)
Set the SSL information for this HTTP connection.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
protected InternalInputBuffer inputBuffer
protected InternalOutputBuffer outputBuffer
protected SSLSupport sslSupport
protected SocketWrapper<Socket> socket
protected JIoEndpoint endpoint
| Constructor Detail | 
|---|
public Http11Processor(int headerBufferSize,
                       JIoEndpoint endpoint)
| Method Detail | 
|---|
protected Log getLog()
getLog in class AbstractHttp11Processorprotected AbstractEndpoint getEndpoint()
public void setSSLSupport(SSLSupport sslSupport)
public AbstractEndpoint.Handler.SocketState process(SocketWrapper<Socket> socketWrapper)
                                             throws IOException
socketWrapper - Socket from which the HTTP requests will be read
               and the HTTP responses will be written.
IOException - error during an I/O operationpublic AbstractEndpoint.Handler.SocketState asyncDispatch(SocketStatus status)
protected void recycleInternal()
recycleInternal in class AbstractHttp11Processor
public void actionInternal(ActionCode actionCode,
                           Object param)
actionCode - Type of the actionparam - Action parameterprotected void prepareRequest()
protected boolean prepareSendfile(OutputFilter[] outputFilters)
protected void parseHost(MessageBytes valueMB)
protected AbstractInputBuffer getInputBuffer()
AbstractHttp11Processor
getInputBuffer in class AbstractHttp11Processorprotected AbstractOutputBuffer getOutputBuffer()
AbstractHttp11Processor
getOutputBuffer in class AbstractHttp11Processorpublic void setSocketBuffer(int socketBuffer)
setSocketBuffer in class AbstractHttp11Processorpublic Executor getExecutor()
getExecutor in interface ProcessorgetExecutor in class AbstractHttp11Processor
  | 
Apache Tomcat 7.0.4 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||