Home / Function/ process() — netty Function Reference

process() — netty Function Reference

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

Function java Buffer Allocators calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  7625c351_feff_b906_08e6_200b708f58f8["process()"]
  455cae9c_9e00_1f87_c8dd_0c3016efab2d["HeaderParser"]
  7625c351_feff_b906_08e6_200b708f58f8 -->|defined in| 455cae9c_9e00_1f87_c8dd_0c3016efab2d
  9bde2ed0_d958_c955_31d0_73b2f06ed949["process()"]
  9bde2ed0_d958_c955_31d0_73b2f06ed949 -->|calls| 7625c351_feff_b906_08e6_200b708f58f8
  9bde2ed0_d958_c955_31d0_73b2f06ed949["process()"]
  7625c351_feff_b906_08e6_200b708f58f8 -->|calls| 9bde2ed0_d958_c955_31d0_73b2f06ed949
  0aa83168_3a3a_1a69_c2b9_259ee6e3e8c0["reset()"]
  7625c351_feff_b906_08e6_200b708f58f8 -->|calls| 0aa83168_3a3a_1a69_c2b9_259ee6e3e8c0
  style 7625c351_feff_b906_08e6_200b708f58f8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-stomp/src/main/java/io/netty/handler/codec/stomp/StompSubframeDecoder.java lines 372–391

        @Override
        public boolean process(byte nextByte) throws Exception {
            if (nextByte == StompConstants.COLON) {
                if (name == null) {
                    AppendableCharSequence charSeq = charSequence();
                    if (charSeq.length() != 0) {
                        name = charSeq.substring(0, charSeq.length());
                        charSeq.reset();
                        valid = true;
                        return true;
                    } else {
                        name = StringUtil.EMPTY_STRING;
                    }
                } else {
                    valid = false;
                }
            }

            return super.process(nextByte);
        }

Domain

Subdomains

Called By

Frequently Asked Questions

What does process() do?
process() is a function in the netty codebase, defined in codec-stomp/src/main/java/io/netty/handler/codec/stomp/StompSubframeDecoder.java.
Where is process() defined?
process() is defined in codec-stomp/src/main/java/io/netty/handler/codec/stomp/StompSubframeDecoder.java at line 372.
What does process() call?
process() calls 2 function(s): process, reset.
What calls process()?
process() is called by 1 function(s): process.

Analyze Your Own Codebase

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

Try Supermodel Free