Http2ConnectionDecoder Type — netty Architecture
Architecture documentation for the Http2ConnectionDecoder type/interface in Http2ConnectionDecoder.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 419ec6ac_ddfd_0358_ddca_d63d7a891a44["Http2ConnectionDecoder"] d70e487a_ca1a_af16_120a_90ac682f29c4["Http2ConnectionDecoder.java"] 419ec6ac_ddfd_0358_ddca_d63d7a891a44 -->|defined in| d70e487a_ca1a_af16_120a_90ac682f29c4 style 419ec6ac_ddfd_0358_ddca_d63d7a891a44 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ConnectionDecoder.java lines 29–75
public interface Http2ConnectionDecoder extends Closeable {
/**
* Sets the lifecycle manager. Must be called as part of initialization before the decoder is used.
*/
void lifecycleManager(Http2LifecycleManager lifecycleManager);
/**
* Provides direct access to the underlying connection.
*/
Http2Connection connection();
/**
* Provides the local flow controller for managing inbound traffic.
*/
Http2LocalFlowController flowController();
/**
* Set the {@link Http2FrameListener} which will be notified when frames are decoded.
* <p>
* This <strong>must</strong> be set before frames are decoded.
*/
void frameListener(Http2FrameListener listener);
/**
* Get the {@link Http2FrameListener} which will be notified when frames are decoded.
*/
Http2FrameListener frameListener();
/**
* Called by the {@link Http2ConnectionHandler} to decode the next frame from the input buffer.
*/
void decodeFrame(ChannelHandlerContext ctx, ByteBuf in, List<Object> out) throws Http2Exception;
/**
* Gets the local settings for this endpoint of the HTTP/2 connection.
*/
Http2Settings localSettings();
/**
* Indicates whether or not the first initial {@code SETTINGS} frame was received from the remote endpoint.
*/
boolean prefaceReceived();
@Override
void close();
}
Source
Frequently Asked Questions
What is the Http2ConnectionDecoder type?
Http2ConnectionDecoder is a type/interface in the netty codebase, defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ConnectionDecoder.java.
Where is Http2ConnectionDecoder defined?
Http2ConnectionDecoder is defined in codec-http2/src/main/java/io/netty/handler/codec/http2/Http2ConnectionDecoder.java at line 29.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free