HeadersContinuation Class — netty Architecture
Architecture documentation for the HeadersContinuation class in DefaultHttp2FrameReader.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 1513d580_1ba7_c2c4_b07e_27969652cb1f["HeadersContinuation"] bd6b4c97_c25c_eb7e_f217_235e361db864["DefaultHttp2FrameReader.java"] 1513d580_1ba7_c2c4_b07e_27969652cb1f -->|defined in| bd6b4c97_c25c_eb7e_f217_235e361db864 d810894b_be57_6864_4a7d_32bddb4d68f3["getStreamId()"] 1513d580_1ba7_c2c4_b07e_27969652cb1f -->|method| d810894b_be57_6864_4a7d_32bddb4d68f3 ca5e2820_c99c_1b79_5ed5_5304bbcba862["processFragment()"] 1513d580_1ba7_c2c4_b07e_27969652cb1f -->|method| ca5e2820_c99c_1b79_5ed5_5304bbcba862 e6bb1ebd_c501_a37e_9b65_a68243175549["HeadersBlockBuilder()"] 1513d580_1ba7_c2c4_b07e_27969652cb1f -->|method| e6bb1ebd_c501_a37e_9b65_a68243175549 27a87865_70e6_4539_a487_7a1a52138fca["close()"] 1513d580_1ba7_c2c4_b07e_27969652cb1f -->|method| 27a87865_70e6_4539_a487_7a1a52138fca
Relationship Graph
Source Code
codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2FrameReader.java lines 640–668
private abstract class HeadersContinuation {
private final HeadersBlockBuilder builder = new HeadersBlockBuilder();
/**
* Returns the stream for which headers are currently being processed.
*/
abstract int getStreamId();
/**
* Processes the next fragment for the current header block.
*
* @param endOfHeaders whether the fragment is the last in the header block.
* @param fragment the fragment of the header block to be added.
* @param listener the listener to be notified if the header block is completed.
*/
abstract void processFragment(boolean endOfHeaders, ByteBuf fragment, int len,
Http2FrameListener listener) throws Http2Exception;
final HeadersBlockBuilder headersBlockBuilder() {
return builder;
}
/**
* Free any allocated resources.
*/
final void close() {
builder.close();
}
}
Source
Frequently Asked Questions
What is the HeadersContinuation class?
HeadersContinuation is a class in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2FrameReader.java.
Where is HeadersContinuation defined?
HeadersContinuation is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/DefaultHttp2FrameReader.java at line 640.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free