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.AbstractProcessor
OfficeFloor Processor.- Author:
- Daniel Sagenschneider
-
Field Summary
Fields inherited from class org.apache.coyote.AbstractProcessor
adapter, asyncStateMachine, request, response, socketWrapper, sslSupport, userDataHelper -
Constructor Summary
ConstructorsConstructorDescriptionOfficeFloorProcessor(OfficeFloorProtocol protocol, org.apache.coyote.Request request, org.apache.coyote.Response response, ServerHttpConnection connection, Executor executor, AsynchronousFlow asynchronousFlow, AsynchronousFlowCompletion asynchronousFlowCompletion) Instantiate. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidack(org.apache.coyote.ContinueResponseTiming arg0) protected intavailable(boolean doRead) protected voidprotected org.apache.tomcat.util.net.AbstractEndpoint.Handler.SocketStateprotected voidprotected voidprotected voidflush()protected booleanprotected org.apache.juli.logging.LoggetLog()protected jakarta.servlet.ServletConnectionprotected booleanprotected booleanprotected booleanvoidpause()protected voidprotected voidprotected 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 voidMethods inherited from class org.apache.coyote.AbstractProcessor
action, asyncPostProcess, checkAsyncTimeoutGeneration, dispatch, dispatchNonBlockingRead, doHttpUpgrade, execute, executeDispatches, getAdapter, getAsyncTimeout, getErrorState, getLeftoverInput, getPopulateRequestAttributesFromSocket, getProtocolRequestId, getRequest, getSocketWrapper, getUpgradeToken, isAsync, isReadyForRead, isTrailerFieldsSupported, isUpgrade, logAccess, parseHost, populateHost, populatePort, populateRequestAttributeRemoteHost, populateSslRequestAttributes, processSocketEvent, recycle, setAsyncTimeout, setErrorState, setSocketWrapper, setSslSupport, sslReHandShake, timeoutAsyncMethods inherited from class org.apache.coyote.AbstractProcessorLight
addDispatch, clearDispatches, getIteratorAndClearDispatches, process
-
Constructor Details
-
OfficeFloorProcessor
public OfficeFloorProcessor(OfficeFloorProtocol protocol, org.apache.coyote.Request request, org.apache.coyote.Response response, ServerHttpConnection connection, Executor executor, AsynchronousFlow asynchronousFlow, AsynchronousFlowCompletion asynchronousFlowCompletion) Instantiate.- Parameters:
protocol-OfficeFloorProtocol.request-Request.response-Response.connection-ServerHttpConnection.executor-Executor.asynchronousFlow-AsynchronousFlow.asynchronousFlowCompletion-AsynchronousFlowCompletion.
-
-
Method Details
-
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
- Specified by:
prepareResponsein classorg.apache.coyote.AbstractProcessor- Throws:
IOException
-
finishResponse
- Specified by:
finishResponsein classorg.apache.coyote.AbstractProcessor- Throws:
IOException
-
setSwallowResponse
protected void setSwallowResponse()- Specified by:
setSwallowResponsein classorg.apache.coyote.AbstractProcessor
-
getServletConnection
protected jakarta.servlet.ServletConnection getServletConnection()- Specified by:
getServletConnectionin classorg.apache.coyote.AbstractProcessor
-
ack
protected void ack(org.apache.coyote.ContinueResponseTiming arg0) - Specified by:
ackin classorg.apache.coyote.AbstractProcessor
-
earlyHints
- Specified by:
earlyHintsin classorg.apache.coyote.AbstractProcessor- Throws:
IOException
-
pause
public void pause() -
flush
- Specified by:
flushin classorg.apache.coyote.AbstractProcessor- Throws:
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
- Specified by:
flushBufferedWritein classorg.apache.coyote.AbstractProcessor- Throws:
IOException
-
dispatchEndRequest
protected org.apache.tomcat.util.net.AbstractEndpoint.Handler.SocketState dispatchEndRequest() throws IOException- Specified by:
dispatchEndRequestin classorg.apache.coyote.AbstractProcessor- Throws:
IOException
-
service
protected org.apache.tomcat.util.net.AbstractEndpoint.Handler.SocketState service(org.apache.tomcat.util.net.SocketWrapperBase<?> socketWrapper) throws IOException - Specified by:
servicein classorg.apache.coyote.AbstractProcessorLight- Throws:
IOException
-