Http2GoAwayException Class — netty Architecture
Architecture documentation for the Http2GoAwayException class in StreamBufferingEncoder.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 7cf82c46_8e53_b2f4_2db3_58816e637bab["Http2GoAwayException"] ac8d53b1_507e_5b73_32c3_3f65876877d4["StreamBufferingEncoder.java"] 7cf82c46_8e53_b2f4_2db3_58816e637bab -->|defined in| ac8d53b1_507e_5b73_32c3_3f65876877d4 e39fbfbd_7be8_c94c_04fb_08609de1ec6e["Http2GoAwayException()"] 7cf82c46_8e53_b2f4_2db3_58816e637bab -->|method| e39fbfbd_7be8_c94c_04fb_08609de1ec6e 70275023_c6c6_8d4d_6328_88c049d46bd4["lastStreamId()"] 7cf82c46_8e53_b2f4_2db3_58816e637bab -->|method| 70275023_c6c6_8d4d_6328_88c049d46bd4 03c9e772_39c9_10cf_dba7_96f47bd6cc5f["errorCode()"] 7cf82c46_8e53_b2f4_2db3_58816e637bab -->|method| 03c9e772_39c9_10cf_dba7_96f47bd6cc5f a04017e7_e77d_bc13_1501_2c7d4b7f796b["debugData()"] 7cf82c46_8e53_b2f4_2db3_58816e637bab -->|method| a04017e7_e77d_bc13_1501_2c7d4b7f796b
Relationship Graph
Source Code
codec-http2/src/main/java/io/netty/handler/codec/http2/StreamBufferingEncoder.java lines 86–110
public static final class Http2GoAwayException extends Http2Exception {
private static final long serialVersionUID = 1326785622777291198L;
private final GoAwayDetail goAwayDetail;
public Http2GoAwayException(int lastStreamId, long errorCode, byte[] debugData) {
this(new GoAwayDetail(lastStreamId, errorCode, debugData));
}
Http2GoAwayException(GoAwayDetail goAwayDetail) {
super(Http2Error.STREAM_CLOSED);
this.goAwayDetail = goAwayDetail;
}
public int lastStreamId() {
return goAwayDetail.lastStreamId;
}
public long errorCode() {
return goAwayDetail.errorCode;
}
public byte[] debugData() {
return goAwayDetail.debugData.clone();
}
}
Source
Frequently Asked Questions
What is the Http2GoAwayException class?
Http2GoAwayException is a class in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/StreamBufferingEncoder.java.
Where is Http2GoAwayException defined?
Http2GoAwayException is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/StreamBufferingEncoder.java at line 86.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free