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

    Constructors
    Constructor
    Description
    OfficeFloorProcessor(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 Type
    Method
    Description
    protected void
    ack(org.apache.coyote.ContinueResponseTiming arg0)
     
    protected int
    available(boolean doRead)
     
    protected void
     
    protected org.apache.tomcat.util.net.AbstractEndpoint.Handler.SocketState
     
    protected void
     
    protected void
     
    protected void
     
    protected boolean
     
    protected org.apache.juli.logging.Log
     
    protected jakarta.servlet.ServletConnection
     
    protected boolean
     
    protected boolean
     
    protected boolean
     
    void
     
    protected void
     
    protected void
     
    protected org.apache.tomcat.util.net.AbstractEndpoint.Handler.SocketState
    service(org.apache.tomcat.util.net.SocketWrapperBase<?> socketWrapper)
     
    protected void
    setRequestBody(org.apache.tomcat.util.buf.ByteChunk body)
     
    protected void
     

    Methods 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, timeoutAsync

    Methods inherited from class org.apache.coyote.AbstractProcessorLight

    addDispatch, clearDispatches, getIteratorAndClearDispatches, process

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getLog

      protected org.apache.juli.logging.Log getLog()
      Specified by:
      getLog in class org.apache.coyote.AbstractProcessorLight
    • available

      protected int available(boolean doRead)
      Specified by:
      available in class org.apache.coyote.AbstractProcessor
    • prepareResponse

      protected void prepareResponse() throws IOException
      Specified by:
      prepareResponse in class org.apache.coyote.AbstractProcessor
      Throws:
      IOException
    • finishResponse

      protected void finishResponse() throws IOException
      Specified by:
      finishResponse in class org.apache.coyote.AbstractProcessor
      Throws:
      IOException
    • setSwallowResponse

      protected void setSwallowResponse()
      Specified by:
      setSwallowResponse in class org.apache.coyote.AbstractProcessor
    • getServletConnection

      protected jakarta.servlet.ServletConnection getServletConnection()
      Specified by:
      getServletConnection in class org.apache.coyote.AbstractProcessor
    • ack

      protected void ack(org.apache.coyote.ContinueResponseTiming arg0)
      Specified by:
      ack in class org.apache.coyote.AbstractProcessor
    • earlyHints

      protected void earlyHints() throws IOException
      Specified by:
      earlyHints in class org.apache.coyote.AbstractProcessor
      Throws:
      IOException
    • pause

      public void pause()
    • flush

      protected void flush() throws IOException
      Specified by:
      flush in class org.apache.coyote.AbstractProcessor
      Throws:
      IOException
    • setRequestBody

      protected void setRequestBody(org.apache.tomcat.util.buf.ByteChunk body)
      Specified by:
      setRequestBody in class org.apache.coyote.AbstractProcessor
    • disableSwallowRequest

      protected void disableSwallowRequest()
      Specified by:
      disableSwallowRequest in class org.apache.coyote.AbstractProcessor
    • isRequestBodyFullyRead

      protected boolean isRequestBodyFullyRead()
      Specified by:
      isRequestBodyFullyRead in class org.apache.coyote.AbstractProcessor
    • registerReadInterest

      protected void registerReadInterest()
      Specified by:
      registerReadInterest in class org.apache.coyote.AbstractProcessor
    • isReadyForWrite

      protected boolean isReadyForWrite()
      Specified by:
      isReadyForWrite in class org.apache.coyote.AbstractProcessor
    • isTrailerFieldsReady

      protected boolean isTrailerFieldsReady()
      Specified by:
      isTrailerFieldsReady in class org.apache.coyote.AbstractProcessor
    • flushBufferedWrite

      protected boolean flushBufferedWrite() throws IOException
      Specified by:
      flushBufferedWrite in class org.apache.coyote.AbstractProcessor
      Throws:
      IOException
    • dispatchEndRequest

      protected org.apache.tomcat.util.net.AbstractEndpoint.Handler.SocketState dispatchEndRequest() throws IOException
      Specified by:
      dispatchEndRequest in class org.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:
      service in class org.apache.coyote.AbstractProcessorLight
      Throws:
      IOException