DefaultSocks5PrivateAuthResponse Class — netty Architecture
Architecture documentation for the DefaultSocks5PrivateAuthResponse class in DefaultSocks5PrivateAuthResponse.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 47fe46b1_5fbd_98ce_07c9_98c6c68d12f0["DefaultSocks5PrivateAuthResponse"] e4f8e20e_316b_4c30_aaa5_102ec785a538["DefaultSocks5PrivateAuthResponse.java"] 47fe46b1_5fbd_98ce_07c9_98c6c68d12f0 -->|defined in| e4f8e20e_316b_4c30_aaa5_102ec785a538 7b8649e0_fb32_39fe_59c0_da9b1463d156["DefaultSocks5PrivateAuthResponse()"] 47fe46b1_5fbd_98ce_07c9_98c6c68d12f0 -->|method| 7b8649e0_fb32_39fe_59c0_da9b1463d156 888807eb_8cca_2e45_d80c_9016386d6b5a["Socks5PrivateAuthStatus()"] 47fe46b1_5fbd_98ce_07c9_98c6c68d12f0 -->|method| 888807eb_8cca_2e45_d80c_9016386d6b5a 2093ae25_36a2_69e6_1343_dde9baad8a26["String()"] 47fe46b1_5fbd_98ce_07c9_98c6c68d12f0 -->|method| 2093ae25_36a2_69e6_1343_dde9baad8a26
Relationship Graph
Source Code
codec-socks/src/main/java/io/netty/handler/codec/socksx/v5/DefaultSocks5PrivateAuthResponse.java lines 25–66
public final class DefaultSocks5PrivateAuthResponse extends AbstractSocks5Message
implements Socks5PrivateAuthResponse {
/**
* The authentication status.
*/
private final Socks5PrivateAuthStatus status;
/**
* Creates a new instance with the specified status.
*
* @param authStatus the authentication status
*/
public DefaultSocks5PrivateAuthResponse(final Socks5PrivateAuthStatus authStatus) {
this.status = ObjectUtil.checkNotNull(authStatus, "authStatus");
}
@Override
public Socks5PrivateAuthStatus 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: ");
buf.append(status);
buf.append(')');
} else {
buf.append("(status: ");
buf.append(status);
buf.append(')');
}
return buf.toString();
}
}
Defined In
Source
Frequently Asked Questions
What is the DefaultSocks5PrivateAuthResponse class?
DefaultSocks5PrivateAuthResponse is a class in the netty codebase, defined in codec-socks/src/main/java/io/netty/handler/codec/socksx/v5/DefaultSocks5PrivateAuthResponse.java.
Where is DefaultSocks5PrivateAuthResponse defined?
DefaultSocks5PrivateAuthResponse is defined in codec-socks/src/main/java/io/netty/handler/codec/socksx/v5/DefaultSocks5PrivateAuthResponse.java at line 25.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free