Class ErrorHandler.ErrorRequest

All Implemented Interfaces:
org.eclipse.jetty.io.Content.Source, Request, org.eclipse.jetty.util.Attributes
Enclosing class:
ErrorHandler

public static class ErrorHandler.ErrorRequest extends Request.AttributesWrapper
  • Constructor Details

  • Method Details

    • read

      public org.eclipse.jetty.io.Content.Chunk read()
      Description copied from interface: Request

      In addition, the returned Content.Chunk may be a Trailers instance, in case of request content trailers.

      Specified by:
      read in interface org.eclipse.jetty.io.Content.Source
      Specified by:
      read in interface Request
      Overrides:
      read in class Request.Wrapper
    • demand

      public void demand(Runnable demandCallback)
      Description copied from interface: Request
      Specified by:
      demand in interface org.eclipse.jetty.io.Content.Source
      Specified by:
      demand in interface Request
      Overrides:
      demand in class Request.Wrapper
      Parameters:
      demandCallback - the demand callback to invoke when there is a content chunk available. In addition to the invocation guarantees of Content.Source.demand(Runnable), this implementation serializes the invocation of the Runnable with invocations of any Response.write(boolean, ByteBuffer, Callback) Callback invocations.
      See Also:
      • Content.Source.demand(Runnable)
    • toString

      public String toString()
      Overrides:
      toString in class Object