acceptInboundMessage() — netty Function Reference
Architecture documentation for the acceptInboundMessage() function in PerFrameDeflateDecoder.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 3d7d5942_fcf4_049f_f0df_e736fb5518d0["acceptInboundMessage()"] c73c9f49_9eb6_0e34_541b_4e223878873f["PerFrameDeflateDecoder"] 3d7d5942_fcf4_049f_f0df_e736fb5518d0 -->|defined in| c73c9f49_9eb6_0e34_541b_4e223878873f style 3d7d5942_fcf4_049f_f0df_e736fb5518d0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/main/java/io/netty/handler/codec/http/websocketx/extensions/compression/PerFrameDeflateDecoder.java lines 53–67
@Override
public boolean acceptInboundMessage(Object msg) throws Exception {
if (!super.acceptInboundMessage(msg)) {
return false;
}
WebSocketFrame wsFrame = (WebSocketFrame) msg;
if (extensionDecoderFilter().mustSkip(wsFrame)) {
return false;
}
return (msg instanceof TextWebSocketFrame || msg instanceof BinaryWebSocketFrame ||
msg instanceof ContinuationWebSocketFrame) &&
(wsFrame.rsv() & WebSocketExtension.RSV1) > 0;
}
Domain
Subdomains
Source
Frequently Asked Questions
What does acceptInboundMessage() do?
acceptInboundMessage() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/http/websocketx/extensions/compression/PerFrameDeflateDecoder.java.
Where is acceptInboundMessage() defined?
acceptInboundMessage() is defined in codec-http/src/main/java/io/netty/handler/codec/http/websocketx/extensions/compression/PerFrameDeflateDecoder.java at line 53.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free