Home / Function/ WebSocketServerProtocolConfig() — netty Function Reference

WebSocketServerProtocolConfig() — netty Function Reference

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

Function java ProtocolCodecs HTTP calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  b0c6d5b9_0843_c191_7d7c_d8568b8d3cb1["WebSocketServerProtocolConfig()"]
  21241e4d_e2b9_561f_0f37_e5fc8d666cb3["WebSocketServerProtocolConfig"]
  b0c6d5b9_0843_c191_7d7c_d8568b8d3cb1 -->|defined in| 21241e4d_e2b9_561f_0f37_e5fc8d666cb3
  81c1d3af_acc9_0c2f_c7f8_fef8a9da5d17["WebSocketServerProtocolConfig()"]
  81c1d3af_acc9_0c2f_c7f8_fef8a9da5d17 -->|calls| b0c6d5b9_0843_c191_7d7c_d8568b8d3cb1
  81c1d3af_acc9_0c2f_c7f8_fef8a9da5d17["WebSocketServerProtocolConfig()"]
  b0c6d5b9_0843_c191_7d7c_d8568b8d3cb1 -->|calls| 81c1d3af_acc9_0c2f_c7f8_fef8a9da5d17
  style b0c6d5b9_0843_c191_7d7c_d8568b8d3cb1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/http/websocketx/WebSocketServerProtocolConfig.java lines 40–60

    private WebSocketServerProtocolConfig(
        String websocketPath,
        String subprotocols,
        boolean checkStartsWith,
        long handshakeTimeoutMillis,
        long forceCloseTimeoutMillis,
        boolean handleCloseFrames,
        WebSocketCloseStatus sendCloseFrame,
        boolean dropPongFrames,
        WebSocketDecoderConfig decoderConfig
    ) {
        this.websocketPath = websocketPath;
        this.subprotocols = subprotocols;
        this.checkStartsWith = checkStartsWith;
        this.handshakeTimeoutMillis = checkPositive(handshakeTimeoutMillis, "handshakeTimeoutMillis");
        this.forceCloseTimeoutMillis = forceCloseTimeoutMillis;
        this.handleCloseFrames = handleCloseFrames;
        this.sendCloseFrame = sendCloseFrame;
        this.dropPongFrames = dropPongFrames;
        this.decoderConfig = decoderConfig == null ? WebSocketDecoderConfig.DEFAULT : decoderConfig;
    }

Subdomains

Frequently Asked Questions

What does WebSocketServerProtocolConfig() do?
WebSocketServerProtocolConfig() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/http/websocketx/WebSocketServerProtocolConfig.java.
Where is WebSocketServerProtocolConfig() defined?
WebSocketServerProtocolConfig() is defined in codec-http/src/main/java/io/netty/handler/codec/http/websocketx/WebSocketServerProtocolConfig.java at line 40.
What does WebSocketServerProtocolConfig() call?
WebSocketServerProtocolConfig() calls 1 function(s): WebSocketServerProtocolConfig.
What calls WebSocketServerProtocolConfig()?
WebSocketServerProtocolConfig() is called by 1 function(s): WebSocketServerProtocolConfig.

Analyze Your Own Codebase

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

Try Supermodel Free