Class HttpInput.Content

java.lang.Object
org.eclipse.jetty.server.HttpInput.Content
All Implemented Interfaces:
Callback, Invocable
Direct Known Subclasses:
HttpConnection.Content, HttpInput.SentinelContent
Enclosing class:
HttpInput

public static class HttpInput.Content extends Object implements Callback
  • Field Details

  • Constructor Details

  • Method Details

    • getByteBuffer

      public ByteBuffer getByteBuffer()
    • getInvocationType

      public Invocable.InvocationType getInvocationType()
      Specified by:
      getInvocationType in interface Invocable
      Returns:
      The InvocationType of this object
    • get

      public int get(byte[] buffer, int offset, int length)
    • skip

      public int skip(int length)
    • hasContent

      public boolean hasContent()
    • remaining

      public int remaining()
    • isEmpty

      public boolean isEmpty()
    • toString

      public String toString()
      Overrides:
      toString in class Object