Object() — netty Function Reference
Architecture documentation for the Object() function in AbstractNioByteChannel.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 772cbaf3_7c7d_e0eb_0134_a3f3061cb2af["Object()"] 81dd42bf_4dab_740c_6405_14423e9ad1f8["AbstractNioByteChannel"] 772cbaf3_7c7d_e0eb_0134_a3f3061cb2af -->|defined in| 81dd42bf_4dab_740c_6405_14423e9ad1f8 style 772cbaf3_7c7d_e0eb_0134_a3f3061cb2af fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport/src/main/java/io/netty/channel/nio/AbstractNioByteChannel.java lines 280–297
@Override
protected final Object filterOutboundMessage(Object msg) {
if (msg instanceof ByteBuf) {
ByteBuf buf = (ByteBuf) msg;
if (buf.isDirect()) {
return msg;
}
return newDirectBuffer(buf);
}
if (msg instanceof FileRegion) {
return msg;
}
throw new UnsupportedOperationException(
"unsupported message type: " + StringUtil.simpleClassName(msg) + EXPECTED_TYPES);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does Object() do?
Object() is a function in the netty codebase, defined in transport/src/main/java/io/netty/channel/nio/AbstractNioByteChannel.java.
Where is Object() defined?
Object() is defined in transport/src/main/java/io/netty/channel/nio/AbstractNioByteChannel.java at line 280.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free