Home / Class/ CorruptedWebSocketFrameException Class — netty Architecture

CorruptedWebSocketFrameException Class — netty Architecture

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

Entity Profile

Dependency Diagram

graph TD
  25d7a48b_f4c9_d8a4_349e_48745e5a1b48["CorruptedWebSocketFrameException"]
  e3f1e74a_df2f_62ac_b23f_eb2ede637abd["CorruptedWebSocketFrameException.java"]
  25d7a48b_f4c9_d8a4_349e_48745e5a1b48 -->|defined in| e3f1e74a_df2f_62ac_b23f_eb2ede637abd
  e6cc302b_5ebd_1dca_44b4_5711189a2573["CorruptedWebSocketFrameException()"]
  25d7a48b_f4c9_d8a4_349e_48745e5a1b48 -->|method| e6cc302b_5ebd_1dca_44b4_5711189a2573
  c3a1d7c8_ef5f_f187_1907_75acc79b0630["WebSocketCloseStatus()"]
  25d7a48b_f4c9_d8a4_349e_48745e5a1b48 -->|method| c3a1d7c8_ef5f_f187_1907_75acc79b0630

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/http/websocketx/CorruptedWebSocketFrameException.java lines 25–64

public final class CorruptedWebSocketFrameException extends CorruptedFrameException {

    private static final long serialVersionUID = 3918055132492988338L;

    private final WebSocketCloseStatus closeStatus;

    /**
     * Creates a new instance.
     */
    public CorruptedWebSocketFrameException() {
        this(WebSocketCloseStatus.PROTOCOL_ERROR, null, null);
    }

    /**
     * Creates a new instance.
     */
    public CorruptedWebSocketFrameException(WebSocketCloseStatus status, String message, Throwable cause) {
        super(message == null ? status.reasonText() : message, cause);
        closeStatus = status;
    }

    /**
     * Creates a new instance.
     */
    public CorruptedWebSocketFrameException(WebSocketCloseStatus status, String message) {
        this(status, message, null);
    }

    /**
     * Creates a new instance.
     */
    public CorruptedWebSocketFrameException(WebSocketCloseStatus status, Throwable cause) {
        this(status, null, cause);
    }

    public WebSocketCloseStatus closeStatus() {
        return closeStatus;
    }

}

Frequently Asked Questions

What is the CorruptedWebSocketFrameException class?
CorruptedWebSocketFrameException is a class in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/http/websocketx/CorruptedWebSocketFrameException.java.
Where is CorruptedWebSocketFrameException defined?
CorruptedWebSocketFrameException is defined in codec-http/src/main/java/io/netty/handler/codec/http/websocketx/CorruptedWebSocketFrameException.java at line 25.

Analyze Your Own Codebase

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

Try Supermodel Free