Home / Function/ StompCommand() — netty Function Reference

StompCommand() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  6cabd8c6_43a7_4222_a824_f288bc49a874["StompCommand()"]
  5bc4bbff_e257_f941_b64b_cc169e78395f["StompSubframeDecoder"]
  6cabd8c6_43a7_4222_a824_f288bc49a874 -->|defined in| 5bc4bbff_e257_f941_b64b_cc169e78395f
  style 6cabd8c6_43a7_4222_a824_f288bc49a874 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-stomp/src/main/java/io/netty/handler/codec/stomp/StompSubframeDecoder.java lines 194–205

    private StompCommand readCommand(ByteBuf in) {
        CharSequence commandSequence = commandParser.parse(in);
        if (commandSequence == null) {
            throw new DecoderException("Failed to read command from channel");
        }
        String commandStr = commandSequence.toString();
        try {
            return StompCommand.valueOf(commandStr);
        } catch (IllegalArgumentException iae) {
            throw new DecoderException("Cannot to parse command " + commandStr);
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does StompCommand() do?
StompCommand() is a function in the netty codebase, defined in codec-stomp/src/main/java/io/netty/handler/codec/stomp/StompSubframeDecoder.java.
Where is StompCommand() defined?
StompCommand() is defined in codec-stomp/src/main/java/io/netty/handler/codec/stomp/StompSubframeDecoder.java at line 194.

Analyze Your Own Codebase

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

Try Supermodel Free