setup() — netty Function Reference
Architecture documentation for the setup() function in QpackDecoderHandlerTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 1a446418_ae1b_2891_734d_206ade84e01d["setup()"] 708fffe6_76c4_53cd_c185_aade2e79a203["QpackDecoderHandlerTest"] 1a446418_ae1b_2891_734d_206ade84e01d -->|defined in| 708fffe6_76c4_53cd_c185_aade2e79a203 996f8a8a_cca7_5c83_69c3_07cd08156453["sectionAckNoIncrement()"] 996f8a8a_cca7_5c83_69c3_07cd08156453 -->|calls| 1a446418_ae1b_2891_734d_206ade84e01d 39ad5734_3b52_99e2_5c2b_b4e91aadc545["sectionAck()"] 39ad5734_3b52_99e2_5c2b_b4e91aadc545 -->|calls| 1a446418_ae1b_2891_734d_206ade84e01d 35604df2_f31f_522f_deb5_6deedf7e9266["sectionAckUnknownStream()"] 35604df2_f31f_522f_deb5_6deedf7e9266 -->|calls| 1a446418_ae1b_2891_734d_206ade84e01d 80901d0f_ee4c_bf76_96ed_16f33e871787["sectionAckAlreadyAcked()"] 80901d0f_ee4c_bf76_96ed_16f33e871787 -->|calls| 1a446418_ae1b_2891_734d_206ade84e01d 71ab7336_3b89_63a6_e08e_247fec2417cb["sectionAckMultiPending()"] 71ab7336_3b89_63a6_e08e_247fec2417cb -->|calls| 1a446418_ae1b_2891_734d_206ade84e01d 957ba1dd_f340_3fae_ce33_a3c3d6a35709["sectionAckMultiPostAck()"] 957ba1dd_f340_3fae_ce33_a3c3d6a35709 -->|calls| 1a446418_ae1b_2891_734d_206ade84e01d 0fc07876_2d59_4390_1743_a47a3066f684["sectionAckCancelledStream()"] 0fc07876_2d59_4390_1743_a47a3066f684 -->|calls| 1a446418_ae1b_2891_734d_206ade84e01d 1ecd35f8_52a6_6372_033d_79aa1845e418["splitBufferForSectionAck()"] 1ecd35f8_52a6_6372_033d_79aa1845e418 -->|calls| 1a446418_ae1b_2891_734d_206ade84e01d 5e771bc9_42b7_3343_c6a0_23cc484528b4["splitBufferForInsertCountIncrement()"] 5e771bc9_42b7_3343_c6a0_23cc484528b4 -->|calls| 1a446418_ae1b_2891_734d_206ade84e01d 15ebf0fd_b376_598c_5edc_fc641d08c3cb["splitBufferForStreamCancellation()"] 15ebf0fd_b376_598c_5edc_fc641d08c3cb -->|calls| 1a446418_ae1b_2891_734d_206ade84e01d d7ab5f22_76c7_185e_02de_3fb5f2341a42["streamCancel()"] d7ab5f22_76c7_185e_02de_3fb5f2341a42 -->|calls| 1a446418_ae1b_2891_734d_206ade84e01d e847dd0a_8987_e663_c75d_e1f943a9c0af["streamCancelUnknownStream()"] e847dd0a_8987_e663_c75d_e1f943a9c0af -->|calls| 1a446418_ae1b_2891_734d_206ade84e01d a2c824a1_41f9_b2ea_07a2_e79c326ed407["streamCancelDynamicTableWithMaxCapacity0()"] a2c824a1_41f9_b2ea_07a2_e79c326ed407 -->|calls| 1a446418_ae1b_2891_734d_206ade84e01d style 1a446418_ae1b_2891_734d_206ade84e01d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http3/src/test/java/io/netty/handler/codec/http3/QpackDecoderHandlerTest.java lines 321–337
private void setup(long maxTableCapacity) throws Exception {
maxEntries = Math.toIntExact(QpackUtil.maxEntries(maxTableCapacity));
parent = new EmbeddedQuicChannel(true);
attributes = new QpackAttributes(parent, false);
setQpackAttributes(parent, attributes);
Http3SettingsFrame settings = new DefaultHttp3SettingsFrame();
settings.put(HTTP3_SETTINGS_QPACK_MAX_TABLE_CAPACITY, maxTableCapacity);
QpackDecoder decoder = new QpackDecoder(maxTableCapacity, 0);
encoderStream = (EmbeddedQuicStreamChannel) parent.createStream(QuicStreamType.UNIDIRECTIONAL,
new QpackEncoderHandler(maxTableCapacity, decoder)).get();
attributes.encoderStream(encoderStream);
encoder = new QpackEncoder(dynamicTable);
encoder.configureDynamicTable(attributes, maxTableCapacity, 0);
decoderStream = (EmbeddedQuicStreamChannel) parent.createStream(QuicStreamType.UNIDIRECTIONAL,
new QpackDecoderHandler(encoder)).get();
attributes.decoderStream(decoderStream);
}
Domain
Subdomains
Called By
- invalidIncrement()
- sectionAck()
- sectionAckAlreadyAcked()
- sectionAckCancelledStream()
- sectionAckMultiPending()
- sectionAckMultiPostAck()
- sectionAckNoIncrement()
- sectionAckUnknownStream()
- splitBufferForInsertCountIncrement()
- splitBufferForSectionAck()
- splitBufferForStreamCancellation()
- streamCancel()
- streamCancelDynamicTableWithMaxCapacity0()
- streamCancelUnknownStream()
Source
Frequently Asked Questions
What does setup() do?
setup() is a function in the netty codebase, defined in codec-http3/src/test/java/io/netty/handler/codec/http3/QpackDecoderHandlerTest.java.
Where is setup() defined?
setup() is defined in codec-http3/src/test/java/io/netty/handler/codec/http3/QpackDecoderHandlerTest.java at line 321.
What calls setup()?
setup() is called by 14 function(s): invalidIncrement, sectionAck, sectionAckAlreadyAcked, sectionAckCancelledStream, sectionAckMultiPending, sectionAckMultiPostAck, sectionAckNoIncrement, sectionAckUnknownStream, and 6 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free