Home / Function/ consumeBytes() — netty Function Reference

consumeBytes() — netty Function Reference

Architecture documentation for the consumeBytes() function in DefaultHttp2LocalFlowControllerTest.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  5afc6fae_8360_072c_1a3a_5b5aa174554d["consumeBytes()"]
  99976e08_de48_4e06_40e5_5ee3655f2651["DefaultHttp2LocalFlowControllerTest"]
  5afc6fae_8360_072c_1a3a_5b5aa174554d -->|defined in| 99976e08_de48_4e06_40e5_5ee3655f2651
  99635301_4c38_7276_bb36_6c73dafd25ce["windowUpdateShouldSendOnceBytesReturned()"]
  99635301_4c38_7276_bb36_6c73dafd25ce -->|calls| 5afc6fae_8360_072c_1a3a_5b5aa174554d
  53c661a9_b397_ab5e_f273_ccbf77df7a7f["connectionWindowShouldAutoRefillWhenDataReceived()"]
  53c661a9_b397_ab5e_f273_ccbf77df7a7f -->|calls| 5afc6fae_8360_072c_1a3a_5b5aa174554d
  1362230c_c862_4505_0a9a_f3c4adbe8ffd["windowUpdateShouldNotBeSentAfterEndOfStream()"]
  1362230c_c862_4505_0a9a_f3c4adbe8ffd -->|calls| 5afc6fae_8360_072c_1a3a_5b5aa174554d
  dc643aa7_df2c_541d_5a2b_b96cf443cafd["halfWindowRemainingShouldUpdateAllWindows()"]
  dc643aa7_df2c_541d_5a2b_b96cf443cafd -->|calls| 5afc6fae_8360_072c_1a3a_5b5aa174554d
  b039f836_1710_00f1_1aef_2e780ee02381["initialWindowUpdateShouldAllowMoreFrames()"]
  b039f836_1710_00f1_1aef_2e780ee02381 -->|calls| 5afc6fae_8360_072c_1a3a_5b5aa174554d
  f1878823_7e30_9415_37ae_9ab2d65269b9["connectionWindowShouldAdjustWithMultipleStreams()"]
  f1878823_7e30_9415_37ae_9ab2d65269b9 -->|calls| 5afc6fae_8360_072c_1a3a_5b5aa174554d
  6643ad24_1e9d_ecec_8ac1_3dd5f612b239["consumeBytesForNullStreamShouldIgnore()"]
  6643ad24_1e9d_ecec_8ac1_3dd5f612b239 -->|calls| 5afc6fae_8360_072c_1a3a_5b5aa174554d
  93311f20_40db_e83e_2d21_bf44a98e424b["consumeBytesForZeroNumBytesShouldIgnore()"]
  93311f20_40db_e83e_2d21_bf44a98e424b -->|calls| 5afc6fae_8360_072c_1a3a_5b5aa174554d
  e95ea161_555f_68dc_c54f_2f70f837da43["consumeBytesForNegativeNumBytesShouldFail()"]
  e95ea161_555f_68dc_c54f_2f70f837da43 -->|calls| 5afc6fae_8360_072c_1a3a_5b5aa174554d
  fd272f17_5355_f858_66ce_9589707e9fbd["testRatio()"]
  fd272f17_5355_f858_66ce_9589707e9fbd -->|calls| 5afc6fae_8360_072c_1a3a_5b5aa174554d
  style 5afc6fae_8360_072c_1a3a_5b5aa174554d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2LocalFlowControllerTest.java lines 427–429

    private boolean consumeBytes(int streamId, int numBytes) throws Http2Exception {
        return controller.consumeBytes(stream(streamId), numBytes);
    }

Domain

Subdomains

Frequently Asked Questions

What does consumeBytes() do?
consumeBytes() is a function in the netty codebase, defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2LocalFlowControllerTest.java.
Where is consumeBytes() defined?
consumeBytes() is defined in codec-http2/src/test/java/io/netty/handler/codec/http2/DefaultHttp2LocalFlowControllerTest.java at line 427.
What calls consumeBytes()?
consumeBytes() is called by 10 function(s): connectionWindowShouldAdjustWithMultipleStreams, connectionWindowShouldAutoRefillWhenDataReceived, consumeBytesForNegativeNumBytesShouldFail, consumeBytesForNullStreamShouldIgnore, consumeBytesForZeroNumBytesShouldIgnore, halfWindowRemainingShouldUpdateAllWindows, initialWindowUpdateShouldAllowMoreFrames, testRatio, and 2 more.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free