public abstract class WebSocketFrame
extends io.netty.buffer.DefaultByteBufHolder
Modifier | Constructor and Description |
---|---|
protected |
WebSocketFrame(boolean finalFragment,
int rsv,
io.netty.buffer.ByteBuf binaryData) |
protected |
WebSocketFrame(io.netty.buffer.ByteBuf binaryData) |
Modifier and Type | Method and Description |
---|---|
WebSocketFrame |
copy() |
WebSocketFrame |
duplicate() |
boolean |
isFinalFragment()
Flag to indicate if this frame is the final fragment in a message.
|
abstract WebSocketFrame |
replace(io.netty.buffer.ByteBuf content) |
WebSocketFrame |
retain() |
WebSocketFrame |
retain(int increment) |
WebSocketFrame |
retainedDuplicate() |
int |
rsv()
Bits used for extensions to the standard.
|
String |
toString() |
WebSocketFrame |
touch() |
WebSocketFrame |
touch(Object hint) |
protected WebSocketFrame(io.netty.buffer.ByteBuf binaryData)
protected WebSocketFrame(boolean finalFragment, int rsv, io.netty.buffer.ByteBuf binaryData)
public boolean isFinalFragment()
public int rsv()
public WebSocketFrame copy()
copy
in interface io.netty.buffer.ByteBufHolder
copy
in class io.netty.buffer.DefaultByteBufHolder
public WebSocketFrame duplicate()
duplicate
in interface io.netty.buffer.ByteBufHolder
duplicate
in class io.netty.buffer.DefaultByteBufHolder
public WebSocketFrame retainedDuplicate()
retainedDuplicate
in interface io.netty.buffer.ByteBufHolder
retainedDuplicate
in class io.netty.buffer.DefaultByteBufHolder
public abstract WebSocketFrame replace(io.netty.buffer.ByteBuf content)
replace
in interface io.netty.buffer.ByteBufHolder
replace
in class io.netty.buffer.DefaultByteBufHolder
public String toString()
toString
in class io.netty.buffer.DefaultByteBufHolder
public WebSocketFrame retain()
retain
in interface io.netty.buffer.ByteBufHolder
retain
in interface io.netty.util.ReferenceCounted
retain
in class io.netty.buffer.DefaultByteBufHolder
public WebSocketFrame retain(int increment)
retain
in interface io.netty.buffer.ByteBufHolder
retain
in interface io.netty.util.ReferenceCounted
retain
in class io.netty.buffer.DefaultByteBufHolder
public WebSocketFrame touch()
touch
in interface io.netty.buffer.ByteBufHolder
touch
in interface io.netty.util.ReferenceCounted
touch
in class io.netty.buffer.DefaultByteBufHolder
public WebSocketFrame touch(Object hint)
touch
in interface io.netty.buffer.ByteBufHolder
touch
in interface io.netty.util.ReferenceCounted
touch
in class io.netty.buffer.DefaultByteBufHolder
Copyright © 2008–2023 The Netty Project. All rights reserved.