Package net.officefloor.servlet.tomcat
Class OfficeFloorProcessor
- java.lang.Object
-
- org.apache.coyote.AbstractProcessorLight
-
- org.apache.coyote.AbstractProcessor
-
- net.officefloor.servlet.tomcat.OfficeFloorProcessor
-
- All Implemented Interfaces:
org.apache.coyote.ActionHook,org.apache.coyote.Processor
public class OfficeFloorProcessor extends org.apache.coyote.AbstractProcessorOfficeFloorProcessor.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description OfficeFloorProcessor(OfficeFloorProtocol protocol, org.apache.coyote.Request request, org.apache.coyote.Response response, ServerHttpConnection connection, java.util.concurrent.Executor executor, AsynchronousFlow asynchronousFlow, AsynchronousFlowCompletion asynchronousFlowCompletion)Instantiate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidack()protected voidack(org.apache.coyote.ContinueResponseTiming arg0)protected intavailable(boolean doRead)protected voiddisableSwallowRequest()protected org.apache.tomcat.util.net.AbstractEndpoint.Handler.SocketStatedispatchEndRequest()protected voidfinishResponse()protected voidflush()protected booleanflushBufferedWrite()protected org.apache.juli.logging.LoggetLog()protected booleanisReadyForWrite()protected booleanisRequestBodyFullyRead()protected booleanisTrailerFieldsReady()voidpause()protected voidprepareResponse()protected voidregisterReadInterest()protected org.apache.tomcat.util.net.AbstractEndpoint.Handler.SocketStateservice(org.apache.tomcat.util.net.SocketWrapperBase<?> socketWrapper)protected voidsetRequestBody(org.apache.tomcat.util.buf.ByteChunk body)protected voidsetSwallowResponse()-
Methods inherited from class org.apache.coyote.AbstractProcessor
action, asyncPostProcess, checkAsyncTimeoutGeneration, dispatch, dispatchNonBlockingRead, doHttpUpgrade, doPush, execute, executeDispatches, getAdapter, getAsyncTimeout, getConnectionID, getErrorState, getLeftoverInput, getPopulateRequestAttributesFromSocket, getRequest, getSocketWrapper, getStreamID, getUpgradeToken, isAsync, isPushSupported, isReadyForRead, isTrailerFieldsSupported, isUpgrade, logAccess, parseHost, populateHost, populatePort, populateRequestAttributeRemoteHost, populateSslRequestAttributes, processSocketEvent, recycle, setAsyncTimeout, setErrorState, setSocketWrapper, setSslSupport, sslReHandShake, timeoutAsync
-
-
-
-
Constructor Detail
-
OfficeFloorProcessor
public OfficeFloorProcessor(OfficeFloorProtocol protocol, org.apache.coyote.Request request, org.apache.coyote.Response response, ServerHttpConnection connection, java.util.concurrent.Executor executor, AsynchronousFlow asynchronousFlow, AsynchronousFlowCompletion asynchronousFlowCompletion)
Instantiate.- Parameters:
protocol-OfficeFloorProtocol.request-Request.response-Response.connection-ServerHttpConnection.executor-Executor.asynchronousFlow-AsynchronousFlow.asynchronousFlowCompletion-AsynchronousFlowCompletion.
-
-
Method Detail
-
getLog
protected org.apache.juli.logging.Log getLog()
- Specified by:
getLogin classorg.apache.coyote.AbstractProcessorLight
-
available
protected int available(boolean doRead)
- Specified by:
availablein classorg.apache.coyote.AbstractProcessor
-
prepareResponse
protected void prepareResponse() throws java.io.IOException- Specified by:
prepareResponsein classorg.apache.coyote.AbstractProcessor- Throws:
java.io.IOException
-
finishResponse
protected void finishResponse() throws java.io.IOException- Specified by:
finishResponsein classorg.apache.coyote.AbstractProcessor- Throws:
java.io.IOException
-
setSwallowResponse
protected void setSwallowResponse()
- Specified by:
setSwallowResponsein classorg.apache.coyote.AbstractProcessor
-
ack
protected void ack()
- Overrides:
ackin classorg.apache.coyote.AbstractProcessor
-
ack
protected void ack(org.apache.coyote.ContinueResponseTiming arg0)
- Specified by:
ackin classorg.apache.coyote.AbstractProcessor
-
pause
public void pause()
-
flush
protected void flush() throws java.io.IOException- Specified by:
flushin classorg.apache.coyote.AbstractProcessor- Throws:
java.io.IOException
-
setRequestBody
protected void setRequestBody(org.apache.tomcat.util.buf.ByteChunk body)
- Specified by:
setRequestBodyin classorg.apache.coyote.AbstractProcessor
-
disableSwallowRequest
protected void disableSwallowRequest()
- Specified by:
disableSwallowRequestin classorg.apache.coyote.AbstractProcessor
-
isRequestBodyFullyRead
protected boolean isRequestBodyFullyRead()
- Specified by:
isRequestBodyFullyReadin classorg.apache.coyote.AbstractProcessor
-
registerReadInterest
protected void registerReadInterest()
- Specified by:
registerReadInterestin classorg.apache.coyote.AbstractProcessor
-
isReadyForWrite
protected boolean isReadyForWrite()
- Specified by:
isReadyForWritein classorg.apache.coyote.AbstractProcessor
-
isTrailerFieldsReady
protected boolean isTrailerFieldsReady()
- Specified by:
isTrailerFieldsReadyin classorg.apache.coyote.AbstractProcessor
-
flushBufferedWrite
protected boolean flushBufferedWrite() throws java.io.IOException- Specified by:
flushBufferedWritein classorg.apache.coyote.AbstractProcessor- Throws:
java.io.IOException
-
dispatchEndRequest
protected org.apache.tomcat.util.net.AbstractEndpoint.Handler.SocketState dispatchEndRequest() throws java.io.IOException- Specified by:
dispatchEndRequestin classorg.apache.coyote.AbstractProcessor- Throws:
java.io.IOException
-
service
protected org.apache.tomcat.util.net.AbstractEndpoint.Handler.SocketState service(org.apache.tomcat.util.net.SocketWrapperBase<?> socketWrapper) throws java.io.IOException- Specified by:
servicein classorg.apache.coyote.AbstractProcessorLight- Throws:
java.io.IOException
-
-