public abstract class WebSocketFrame extends DefaultByteBufHolder
限定符 | 构造器和说明 |
---|---|
protected |
WebSocketFrame(boolean finalFragment,
int rsv,
ByteBuf binaryData) |
protected |
WebSocketFrame(ByteBuf binaryData) |
限定符和类型 | 方法和说明 |
---|---|
abstract WebSocketFrame |
copy()
Create a deep copy of this
ByteBufHolder . |
abstract WebSocketFrame |
duplicate()
Duplicate the
ByteBufHolder . |
boolean |
isFinalFragment()
Flag to indicate if this frame is the final fragment in a message.
|
WebSocketFrame |
retain()
Increases the reference count by
1 . |
WebSocketFrame |
retain(int increment)
Increases the reference count by the specified
increment . |
int |
rsv()
Bits used for extensions to the standard.
|
java.lang.String |
toString() |
content, contentToString, equals, hashCode, refCnt, release, release
protected WebSocketFrame(ByteBuf binaryData)
protected WebSocketFrame(boolean finalFragment, int rsv, ByteBuf binaryData)
public boolean isFinalFragment()
public int rsv()
public abstract WebSocketFrame copy()
ByteBufHolder
ByteBufHolder
.copy
在接口中 ByteBufHolder
copy
在类中 DefaultByteBufHolder
public abstract WebSocketFrame duplicate()
ByteBufHolder
ByteBufHolder
. Be aware that this will not automatically call ByteBufHolder.retain()
.duplicate
在接口中 ByteBufHolder
duplicate
在类中 DefaultByteBufHolder
public java.lang.String toString()
toString
在类中 DefaultByteBufHolder
public WebSocketFrame retain()
ReferenceCounted
1
.retain
在接口中 ByteBufHolder
retain
在接口中 ReferenceCounted
retain
在类中 DefaultByteBufHolder
public WebSocketFrame retain(int increment)
ReferenceCounted
increment
.retain
在接口中 ByteBufHolder
retain
在接口中 ReferenceCounted
retain
在类中 DefaultByteBufHolder