Home / Function/ checkNextUri() — netty Function Reference

checkNextUri() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  fe09eb27_db78_5286_5fac_98f9598fa06b["checkNextUri()"]
  7859e8c2_d3fe_97c8_edc5_e54ff6dd5668["WebSocketServerProtocolHandshakeHandler"]
  fe09eb27_db78_5286_5fac_98f9598fa06b -->|defined in| 7859e8c2_d3fe_97c8_edc5_e54ff6dd5668
  cd048d62_9bdc_867a_c433_c9a6c433bed0["isWebSocketPath()"]
  cd048d62_9bdc_867a_c433_c9a6c433bed0 -->|calls| fe09eb27_db78_5286_5fac_98f9598fa06b
  style fe09eb27_db78_5286_5fac_98f9598fa06b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/http/websocketx/WebSocketServerProtocolHandshakeHandler.java lines 121–128

    private boolean checkNextUri(String uri, String websocketPath) {
        int len = websocketPath.length();
        if (uri.length() > len) {
            char nextUri = uri.charAt(len);
            return nextUri == '/' || nextUri == '?';
        }
        return true;
    }

Subdomains

Called By

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free