Class DefaultHttp2ConnectionDecoder.ContentLength

java.lang.Object
io.netty.handler.codec.http2.DefaultHttp2ConnectionDecoder.ContentLength
Enclosing class:
DefaultHttp2ConnectionDecoder

private static final class DefaultHttp2ConnectionDecoder.ContentLength extends java.lang.Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final long
     
    private long
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ContentLength(long expected)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) void
    increaseReceivedBytes(boolean server, int streamId, int bytes, boolean isEnd)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • expected

      private final long expected
    • seen

      private long seen
  • Constructor Details

    • ContentLength

      ContentLength(long expected)
  • Method Details

    • increaseReceivedBytes

      void increaseReceivedBytes(boolean server, int streamId, int bytes, boolean isEnd) throws Http2Exception
      Throws:
      Http2Exception