Home / Function/ DefaultSocks5PasswordAuthRequest() — netty Function Reference

DefaultSocks5PasswordAuthRequest() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  a7f90318_1295_9ce1_084b_5d1ea3c4c6cc["DefaultSocks5PasswordAuthRequest()"]
  df152f59_cee2_8f7c_77b8_bc8c6333ea61["DefaultSocks5PasswordAuthRequest"]
  a7f90318_1295_9ce1_084b_5d1ea3c4c6cc -->|defined in| df152f59_cee2_8f7c_77b8_bc8c6333ea61
  style a7f90318_1295_9ce1_084b_5d1ea3c4c6cc fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-socks/src/main/java/io/netty/handler/codec/socksx/v5/DefaultSocks5PasswordAuthRequest.java lines 30–43

    public DefaultSocks5PasswordAuthRequest(String username, String password) {
        ObjectUtil.checkNotNull(username, "username");
        ObjectUtil.checkNotNull(password, "password");

        if (username.length() > 255) {
            throw new IllegalArgumentException("username: **** (expected: less than 256 chars)");
        }
        if (password.length() > 255) {
            throw new IllegalArgumentException("password: **** (expected: less than 256 chars)");
        }

        this.username = username;
        this.password = password;
    }

Domain

Subdomains

Frequently Asked Questions

What does DefaultSocks5PasswordAuthRequest() do?
DefaultSocks5PasswordAuthRequest() is a function in the netty codebase, defined in codec-socks/src/main/java/io/netty/handler/codec/socksx/v5/DefaultSocks5PasswordAuthRequest.java.
Where is DefaultSocks5PasswordAuthRequest() defined?
DefaultSocks5PasswordAuthRequest() is defined in codec-socks/src/main/java/io/netty/handler/codec/socksx/v5/DefaultSocks5PasswordAuthRequest.java at line 30.

Analyze Your Own Codebase

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

Try Supermodel Free