Home / Class/ DefaultStompHeadersSubframe Class — netty Architecture

DefaultStompHeadersSubframe Class — netty Architecture

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

Entity Profile

Dependency Diagram

graph TD
  44c637e7_a688_c451_8212_a38eb4c514e4["DefaultStompHeadersSubframe"]
  31f3cc1c_f83d_3d09_4c00_17b85b92ec87["DefaultStompHeadersSubframe.java"]
  44c637e7_a688_c451_8212_a38eb4c514e4 -->|defined in| 31f3cc1c_f83d_3d09_4c00_17b85b92ec87
  ba345329_58e8_8a69_22c0_8ce701ecebca["DefaultStompHeadersSubframe()"]
  44c637e7_a688_c451_8212_a38eb4c514e4 -->|method| ba345329_58e8_8a69_22c0_8ce701ecebca
  1b8abc62_510d_2f01_c5d4_fca4f5f42656["StompCommand()"]
  44c637e7_a688_c451_8212_a38eb4c514e4 -->|method| 1b8abc62_510d_2f01_c5d4_fca4f5f42656
  583123ef_d4f2_142b_e503_6573f40dcb80["StompHeaders()"]
  44c637e7_a688_c451_8212_a38eb4c514e4 -->|method| 583123ef_d4f2_142b_e503_6573f40dcb80
  28152304_ce41_4956_d85c_1885ce5d9148["DecoderResult()"]
  44c637e7_a688_c451_8212_a38eb4c514e4 -->|method| 28152304_ce41_4956_d85c_1885ce5d9148
  6d5273fe_a70f_17f9_c3b1_5c3562d4d150["setDecoderResult()"]
  44c637e7_a688_c451_8212_a38eb4c514e4 -->|method| 6d5273fe_a70f_17f9_c3b1_5c3562d4d150
  8c33b51b_cda0_d20d_bda5_927d2315bfc3["String()"]
  44c637e7_a688_c451_8212_a38eb4c514e4 -->|method| 8c33b51b_cda0_d20d_bda5_927d2315bfc3

Relationship Graph

Source Code

codec-stomp/src/main/java/io/netty/handler/codec/stomp/DefaultStompHeadersSubframe.java lines 24–66

public class DefaultStompHeadersSubframe implements StompHeadersSubframe {

    protected final StompCommand command;
    protected DecoderResult decoderResult = DecoderResult.SUCCESS;
    protected final DefaultStompHeaders headers;

    public DefaultStompHeadersSubframe(StompCommand command) {
        this(command, null);
    }

    DefaultStompHeadersSubframe(StompCommand command, DefaultStompHeaders headers) {
        this.command = ObjectUtil.checkNotNull(command, "command");
        this.headers = headers == null ? new DefaultStompHeaders() : headers;
    }

    @Override
    public StompCommand command() {
        return command;
    }

    @Override
    public StompHeaders headers() {
        return headers;
    }

    @Override
    public DecoderResult decoderResult() {
        return decoderResult;
    }

    @Override
    public void setDecoderResult(DecoderResult decoderResult) {
        this.decoderResult = decoderResult;
    }

    @Override
    public String toString() {
        return "StompFrame{" +
            "command=" + command +
            ", headers=" + headers +
            '}';
    }
}

Frequently Asked Questions

What is the DefaultStompHeadersSubframe class?
DefaultStompHeadersSubframe is a class in the netty codebase, defined in codec-stomp/src/main/java/io/netty/handler/codec/stomp/DefaultStompHeadersSubframe.java.
Where is DefaultStompHeadersSubframe defined?
DefaultStompHeadersSubframe is defined in codec-stomp/src/main/java/io/netty/handler/codec/stomp/DefaultStompHeadersSubframe.java at line 24.

Analyze Your Own Codebase

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

Try Supermodel Free