Class ErrorHandler.ErrorRequest

java.lang.Object
org.eclipse.jetty.util.Attributes.Wrapper
org.eclipse.jetty.server.Request.Wrapper
org.eclipse.jetty.server.handler.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.Wrapper
  • 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)
    • getAttribute

      public Object getAttribute(String name)
      Specified by:
      getAttribute in interface org.eclipse.jetty.util.Attributes
      Overrides:
      getAttribute in class org.eclipse.jetty.util.Attributes.Wrapper
    • getAttributeNameSet

      public Set<String> getAttributeNameSet()
      Specified by:
      getAttributeNameSet in interface org.eclipse.jetty.util.Attributes
      Overrides:
      getAttributeNameSet in class org.eclipse.jetty.util.Attributes.Wrapper
    • toString

      public String toString()
      Overrides:
      toString in class Object