Home / Class/ DefaultSocks5PasswordAuthResponse Class — netty Architecture

DefaultSocks5PasswordAuthResponse Class — netty Architecture

Architecture documentation for the DefaultSocks5PasswordAuthResponse class in DefaultSocks5PasswordAuthResponse.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  d0c4b80c_410e_8753_3105_9e710c0d1f7c["DefaultSocks5PasswordAuthResponse"]
  4a4c0d0b_85d9_7930_ca4c_820e48870aec["DefaultSocks5PasswordAuthResponse.java"]
  d0c4b80c_410e_8753_3105_9e710c0d1f7c -->|defined in| 4a4c0d0b_85d9_7930_ca4c_820e48870aec
  d2ecd874_f3ec_28f0_fe36_9230a45b37ea["DefaultSocks5PasswordAuthResponse()"]
  d0c4b80c_410e_8753_3105_9e710c0d1f7c -->|method| d2ecd874_f3ec_28f0_fe36_9230a45b37ea
  b7af0f4f_398e_e963_f946_4c6e064ec237["Socks5PasswordAuthStatus()"]
  d0c4b80c_410e_8753_3105_9e710c0d1f7c -->|method| b7af0f4f_398e_e963_f946_4c6e064ec237
  b5c3ea08_cd52_46da_3c5b_fbd9b0f18c15["String()"]
  d0c4b80c_410e_8753_3105_9e710c0d1f7c -->|method| b5c3ea08_cd52_46da_3c5b_fbd9b0f18c15

Relationship Graph

Source Code

codec-socks/src/main/java/io/netty/handler/codec/socksx/v5/DefaultSocks5PasswordAuthResponse.java lines 25–55

public class DefaultSocks5PasswordAuthResponse extends AbstractSocks5Message implements Socks5PasswordAuthResponse {

    private final Socks5PasswordAuthStatus status;

    public DefaultSocks5PasswordAuthResponse(Socks5PasswordAuthStatus status) {
        this.status = ObjectUtil.checkNotNull(status, "status");
    }

    @Override
    public Socks5PasswordAuthStatus status() {
        return status;
    }

    @Override
    public String toString() {
        StringBuilder buf = new StringBuilder(StringUtil.simpleClassName(this));

        DecoderResult decoderResult = decoderResult();
        if (!decoderResult.isSuccess()) {
            buf.append("(decoderResult: ");
            buf.append(decoderResult);
            buf.append(", status: ");
        } else {
            buf.append("(status: ");
        }
        buf.append(status());
        buf.append(')');

        return buf.toString();
    }
}

Frequently Asked Questions

What is the DefaultSocks5PasswordAuthResponse class?
DefaultSocks5PasswordAuthResponse is a class in the netty codebase, defined in codec-socks/src/main/java/io/netty/handler/codec/socksx/v5/DefaultSocks5PasswordAuthResponse.java.
Where is DefaultSocks5PasswordAuthResponse defined?
DefaultSocks5PasswordAuthResponse is defined in codec-socks/src/main/java/io/netty/handler/codec/socksx/v5/DefaultSocks5PasswordAuthResponse.java at line 25.

Analyze Your Own Codebase

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

Try Supermodel Free