String() — netty Function Reference
Architecture documentation for the String() function in CloseWebSocketFrame.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 92d4e388_b108_f78a_197d_50312f8b2a19["String()"] 5070406a_c000_8334_1d2d_467605456155["CloseWebSocketFrame"] 92d4e388_b108_f78a_197d_50312f8b2a19 -->|defined in| 5070406a_c000_8334_1d2d_467605456155 style 92d4e388_b108_f78a_197d_50312f8b2a19 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
codec-http/src/main/java/io/netty/handler/codec/http/websocketx/CloseWebSocketFrame.java lines 145–152
public String reasonText() {
ByteBuf binaryData = content();
if (binaryData == null || binaryData.readableBytes() <= 2) {
return "";
}
return binaryData.toString(binaryData.readerIndex() + 2, binaryData.readableBytes() - 2, CharsetUtil.UTF_8);
}
Domain
Subdomains
Source
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/http/websocketx/CloseWebSocketFrame.java.
Where is String() defined?
String() is defined in codec-http/src/main/java/io/netty/handler/codec/http/websocketx/CloseWebSocketFrame.java at line 145.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free