Class DefaultHttp2ConnectionDecoder.ContentLength

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private long expected  
      private long seen  
    • Constructor Summary

      Constructors 
      Constructor Description
      ContentLength​(long expected)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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 Detail

      • expected

        private final long expected
      • seen

        private long seen
    • Constructor Detail

      • ContentLength

        ContentLength​(long expected)
    • Method Detail

      • increaseReceivedBytes

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