Home / Function/ protocolViolation() — netty Function Reference

protocolViolation() — netty Function Reference

Architecture documentation for the protocolViolation() function in WebSocket08FrameDecoder.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  052c117e_18bc_0a73_ffad_e40824a99630["protocolViolation()"]
  c9b44ce3_48da_97b4_c171_21f4f8367ad8["WebSocket08FrameDecoder"]
  052c117e_18bc_0a73_ffad_e40824a99630 -->|defined in| c9b44ce3_48da_97b4_c171_21f4f8367ad8
  0cc1f80d_2de8_eba7_1c1b_044be6cac6ba["decode()"]
  0cc1f80d_2de8_eba7_1c1b_044be6cac6ba -->|calls| 052c117e_18bc_0a73_ffad_e40824a99630
  f1364653_ca1d_d1d2_a507_8c02eba374f5["checkCloseFrameBody()"]
  f1364653_ca1d_d1d2_a507_8c02eba374f5 -->|calls| 052c117e_18bc_0a73_ffad_e40824a99630
  style 052c117e_18bc_0a73_ffad_e40824a99630 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/http/websocketx/WebSocket08FrameDecoder.java lines 426–428

    private void protocolViolation(ChannelHandlerContext ctx, ByteBuf in, String reason) {
        protocolViolation(ctx, in, WebSocketCloseStatus.PROTOCOL_ERROR, reason);
    }

Subdomains

Frequently Asked Questions

What does protocolViolation() do?
protocolViolation() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/http/websocketx/WebSocket08FrameDecoder.java.
Where is protocolViolation() defined?
protocolViolation() is defined in codec-http/src/main/java/io/netty/handler/codec/http/websocketx/WebSocket08FrameDecoder.java at line 426.
What calls protocolViolation()?
protocolViolation() is called by 2 function(s): checkCloseFrameBody, decode.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free