Http2FrameSizePolicy Type — netty Architecture
Architecture documentation for the Http2FrameSizePolicy type/interface in Http2FrameSizePolicy.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD de4512ea_4b70_bf4d_aef9_748c4dcc313c["Http2FrameSizePolicy"] 5556af50_6167_c80c_d9e2_662456c71816["Http2FrameSizePolicy.java"] de4512ea_4b70_bf4d_aef9_748c4dcc313c -->|defined in| 5556af50_6167_c80c_d9e2_662456c71816 style de4512ea_4b70_bf4d_aef9_748c4dcc313c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/main/java/io/netty/handler/codec/http2/Http2FrameSizePolicy.java lines 17–36
public interface Http2FrameSizePolicy {
/**
* Sets the maximum allowed frame size. Attempts to write frames longer than this maximum will fail.
* <p>
* This value is used to represent
* <a href="https://tools.ietf.org/html/rfc7540#section-6.5.2">SETTINGS_MAX_FRAME_SIZE</a>. This method should
* only be called by Netty (not users) as a result of a receiving a {@code SETTINGS} frame.
*/
void maxFrameSize(int max) throws Http2Exception;
/**
* Gets the maximum allowed frame size.
* <p>
* This value is used to represent
* <a href="https://tools.ietf.org/html/rfc7540#section-6.5.2">SETTINGS_MAX_FRAME_SIZE</a>. The initial value
* defined by the RFC is unlimited but enforcing a lower limit is generally permitted.
* {@link Http2CodecUtil#DEFAULT_MAX_FRAME_SIZE} can be used as a more conservative default.
*/
int maxFrameSize();
}
Source
Frequently Asked Questions
What is the Http2FrameSizePolicy type?
Http2FrameSizePolicy is a type/interface in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2FrameSizePolicy.java.
Where is Http2FrameSizePolicy defined?
Http2FrameSizePolicy is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2FrameSizePolicy.java at line 17.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free