Class HttpInput.Content

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

public static class HttpInput.Content extends Object implements org.eclipse.jetty.util.Callback
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.eclipse.jetty.util.Callback

    org.eclipse.jetty.util.Callback.Completable, org.eclipse.jetty.util.Callback.Completing, org.eclipse.jetty.util.Callback.Nested

    Nested classes/interfaces inherited from interface org.eclipse.jetty.util.thread.Invocable

    org.eclipse.jetty.util.thread.Invocable.InvocationType
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final ByteBuffer
     

    Fields inherited from interface org.eclipse.jetty.util.Callback

    NOOP

    Fields inherited from interface org.eclipse.jetty.util.thread.Invocable

    __nonBlocking
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    get(byte[] buffer, int offset, int length)
     
     
    org.eclipse.jetty.util.thread.Invocable.InvocationType
     
    boolean
     
    boolean
     
    int
     
    int
    skip(int length)
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.eclipse.jetty.util.Callback

    failed, succeeded
  • Field Details

  • Constructor Details

  • Method Details

    • getByteBuffer

      public ByteBuffer getByteBuffer()
    • getInvocationType

      public org.eclipse.jetty.util.thread.Invocable.InvocationType getInvocationType()
      Specified by:
      getInvocationType in interface org.eclipse.jetty.util.thread.Invocable
    • 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