Class 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.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 ByteBuffer _content  
      • 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
      Content​(ByteBuffer content)  
    • Field Detail

    • Constructor Detail

    • Method Detail

      • 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()