Home / Function/ String() — netty Function Reference

String() — netty Function Reference

Architecture documentation for the String() function in DefaultSpdyDataFrame.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  8203cd91_180c_aa62_a72e_245c5575acfc["String()"]
  1b48ca2e_3d8f_ecd6_e2dc_f3d630f884fe["DefaultSpdyDataFrame"]
  8203cd91_180c_aa62_a72e_245c5575acfc -->|defined in| 1b48ca2e_3d8f_ecd6_e2dc_f3d630f884fe
  753248ef_8805_0fb4_3971_bd701913592d["refCnt()"]
  8203cd91_180c_aa62_a72e_245c5575acfc -->|calls| 753248ef_8805_0fb4_3971_bd701913592d
  style 8203cd91_180c_aa62_a72e_245c5575acfc fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

codec-http/src/main/java/io/netty/handler/codec/spdy/DefaultSpdyDataFrame.java lines 138–156

    @Override
    public String toString() {
        StringBuilder buf = new StringBuilder()
            .append(StringUtil.simpleClassName(this))
            .append("(last: ")
            .append(isLast())
            .append(')')
            .append(StringUtil.NEWLINE)
            .append("--> Stream-ID = ")
            .append(streamId())
            .append(StringUtil.NEWLINE)
            .append("--> Size = ");
        if (refCnt() == 0) {
            buf.append("(freed)");
        } else {
            buf.append(content().readableBytes());
        }
        return buf.toString();
    }

Domain

Subdomains

Calls

Frequently Asked Questions

What does String() do?
String() is a function in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/spdy/DefaultSpdyDataFrame.java.
Where is String() defined?
String() is defined in codec-http/src/main/java/io/netty/handler/codec/spdy/DefaultSpdyDataFrame.java at line 138.
What does String() call?
String() calls 1 function(s): refCnt.

Analyze Your Own Codebase

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

Try Supermodel Free