Home / Function/ process() — netty Function Reference

process() — netty Function Reference

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

Function java ProtocolCodecs HTTP calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  f14266b0_69f9_4dca_8926_045fa8ecf4bb["process()"]
  9b054005_526c_b786_7ba7_c57595aa32ad["UrlDecoder"]
  f14266b0_69f9_4dca_8926_045fa8ecf4bb -->|defined in| 9b054005_526c_b786_7ba7_c57595aa32ad
  8374875e_1280_489a_b29f_0f87fd44f03e["process()"]
  8374875e_1280_489a_b29f_0f87fd44f03e -->|calls| f14266b0_69f9_4dca_8926_045fa8ecf4bb
  8374875e_1280_489a_b29f_0f87fd44f03e["process()"]
  f14266b0_69f9_4dca_8926_045fa8ecf4bb -->|calls| 8374875e_1280_489a_b29f_0f87fd44f03e
  style f14266b0_69f9_4dca_8926_045fa8ecf4bb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/http/multipart/HttpPostStandardRequestDecoder.java lines 693–717

        @Override
        public boolean process(byte value) {
            if (nextEscapedIdx != 0) {
                if (nextEscapedIdx == 1) {
                    hiByte = value;
                    ++nextEscapedIdx;
                } else {
                    int hi = StringUtil.decodeHexNibble((char) hiByte);
                    int lo = StringUtil.decodeHexNibble((char) value);
                    if (hi == -1 || lo == -1) {
                        ++nextEscapedIdx;
                        return false;
                    }
                    output.writeByte((hi << 4) + lo);
                    nextEscapedIdx = 0;
                }
            } else if (value == '%') {
                nextEscapedIdx = 1;
            } else if (value == '+') {
                output.writeByte(' ');
            } else {
                output.writeByte(value);
            }
            return true;
        }

Subdomains

Calls

Called By

Frequently Asked Questions

What does process() do?
process() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/http/multipart/HttpPostStandardRequestDecoder.java.
Where is process() defined?
process() is defined in codec-http/src/main/java/io/netty/handler/codec/http/multipart/HttpPostStandardRequestDecoder.java at line 693.
What does process() call?
process() calls 1 function(s): process.
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