BinaryWebSocketFrame Class — netty Architecture
Architecture documentation for the BinaryWebSocketFrame class in BinaryWebSocketFrame.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 2a073b3c_5fcb_bf33_cb78_5c4606c3dfba["BinaryWebSocketFrame"] 5347cced_4988_dcc5_694d_fd8374c1a468["BinaryWebSocketFrame.java"] 2a073b3c_5fcb_bf33_cb78_5c4606c3dfba -->|defined in| 5347cced_4988_dcc5_694d_fd8374c1a468 108fdde1_656d_f443_8710_810885f70b48["BinaryWebSocketFrame()"] 2a073b3c_5fcb_bf33_cb78_5c4606c3dfba -->|method| 108fdde1_656d_f443_8710_810885f70b48
Relationship Graph
Source Code
codec-http/src/main/java/io/netty/handler/codec/http/websocketx/BinaryWebSocketFrame.java lines 24–100
public class BinaryWebSocketFrame extends WebSocketFrame {
/**
* Creates a new empty binary frame.
*/
public BinaryWebSocketFrame() {
super(Unpooled.buffer(0));
}
/**
* Creates a new binary frame with the specified binary data. The final fragment flag is set to true.
*
* @param binaryData
* the content of the frame.
*/
public BinaryWebSocketFrame(ByteBuf binaryData) {
super(binaryData);
}
/**
* Creates a new binary frame with the specified binary data and the final fragment flag.
*
* @param finalFragment
* flag indicating if this frame is the final fragment
* @param rsv
* reserved bits used for protocol extensions
* @param binaryData
* the content of the frame.
*/
public BinaryWebSocketFrame(boolean finalFragment, int rsv, ByteBuf binaryData) {
super(finalFragment, rsv, binaryData);
}
@Override
public BinaryWebSocketFrame copy() {
return (BinaryWebSocketFrame) super.copy();
}
@Override
public BinaryWebSocketFrame duplicate() {
return (BinaryWebSocketFrame) super.duplicate();
}
@Override
public BinaryWebSocketFrame retainedDuplicate() {
return (BinaryWebSocketFrame) super.retainedDuplicate();
}
@Override
public BinaryWebSocketFrame replace(ByteBuf content) {
return new BinaryWebSocketFrame(isFinalFragment(), rsv(), content);
}
@Override
public BinaryWebSocketFrame retain() {
super.retain();
return this;
}
@Override
public BinaryWebSocketFrame retain(int increment) {
super.retain(increment);
return this;
}
@Override
public BinaryWebSocketFrame touch() {
super.touch();
return this;
}
@Override
public BinaryWebSocketFrame touch(Object hint) {
super.touch(hint);
return this;
}
}
Defined In
Source
Frequently Asked Questions
What is the BinaryWebSocketFrame class?
BinaryWebSocketFrame is a class in the netty codebase, defined in codec-http/src/main/java/io/netty/handler/codec/http/websocketx/BinaryWebSocketFrame.java.
Where is BinaryWebSocketFrame defined?
BinaryWebSocketFrame is defined in codec-http/src/main/java/io/netty/handler/codec/http/websocketx/BinaryWebSocketFrame.java at line 24.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free