java.lang.Object
org.glassfish.grizzly.http.io.OutputBuffer
org.glassfish.grizzly.http.server.io.ServerOutputBuffer

public class ServerOutputBuffer extends org.glassfish.grizzly.http.io.OutputBuffer
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.glassfish.grizzly.http.io.OutputBuffer

    org.glassfish.grizzly.http.io.OutputBuffer.LifeCycleListener
  • Field Summary

    Fields inherited from class org.glassfish.grizzly.http.io.OutputBuffer

    LOGGER, sendfileEnabled
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Executor
     
    void
    initialize(Response response, org.glassfish.grizzly.filterchain.FilterChainContext ctx)
     
    void
     
    void
    sendfile(File file, long offset, long length, org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.WriteResult> handler)
     

    Methods inherited from class org.glassfish.grizzly.http.io.OutputBuffer

    acknowledge, canWrite, canWrite, canWriteChar, close, endRequest, flush, getBufferedDataSize, getBufferSize, getTrailers, initialize, isAsyncEnabled, isClosed, notifyCanWrite, notifyCanWrite, prepareCharacterEncoder, registerLifeCycleListener, removeLifeCycleListener, reset, sendfile, setAsyncEnabled, setBufferSize, setTrailers, write, write, write, write, write, write, writeBuffer, writeByte, writeByteBuffer, writeChar

    Methods inherited from class java.lang.Object

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

    • ServerOutputBuffer

      public ServerOutputBuffer()
  • Method Details

    • initialize

      public void initialize(Response response, org.glassfish.grizzly.filterchain.FilterChainContext ctx)
    • sendfile

      public void sendfile(File file, long offset, long length, org.glassfish.grizzly.CompletionHandler<org.glassfish.grizzly.WriteResult> handler)
      Overrides:
      sendfile in class org.glassfish.grizzly.http.io.OutputBuffer
    • recycle

      public void recycle()
      Overrides:
      recycle in class org.glassfish.grizzly.http.io.OutputBuffer
    • getThreadPool

      protected Executor getThreadPool()
      Overrides:
      getThreadPool in class org.glassfish.grizzly.http.io.OutputBuffer