public abstract class WebSocketFrame extends DefaultByteBufHolder
| Modifier | Constructor and Description |
|---|---|
protected |
WebSocketFrame(boolean finalFragment,
int rsv,
ByteBuf binaryData) |
protected |
WebSocketFrame(ByteBuf binaryData) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
String |
toString() |
WebSocketFrame |
touch()
Records the current access location of this object for debugging purposes.
|
WebSocketFrame |
touch(Object hint)
Records the current access location of this object with an additonal arbitrary information for debugging
purposes.
|
content, refCnt, release, releaseprotected WebSocketFrame(ByteBuf binaryData)
protected WebSocketFrame(boolean finalFragment,
int rsv,
ByteBuf binaryData)
public boolean isFinalFragment()
public int rsv()
public abstract WebSocketFrame copy()
ByteBufHolderByteBufHolder.copy in interface ByteBufHoldercopy in class DefaultByteBufHolderpublic abstract WebSocketFrame duplicate()
ByteBufHolderByteBufHolder. Be aware that this will not automatically call ByteBufHolder.retain().duplicate in interface ByteBufHolderduplicate in class DefaultByteBufHolderpublic String toString()
toString in class DefaultByteBufHolderpublic WebSocketFrame retain()
ReferenceCounted1.retain in interface ByteBufHolderretain in interface ReferenceCountedretain in class DefaultByteBufHolderpublic WebSocketFrame retain(int increment)
ReferenceCountedincrement.retain in interface ByteBufHolderretain in interface ReferenceCountedretain in class DefaultByteBufHolderpublic WebSocketFrame touch()
ReferenceCountedResourceLeakDetector. This method is a shortcut to touch(null).touch in interface ByteBufHoldertouch in interface ReferenceCountedtouch in class DefaultByteBufHolderpublic WebSocketFrame touch(Object hint)
ReferenceCountedResourceLeakDetector.touch in interface ByteBufHoldertouch in interface ReferenceCountedtouch in class DefaultByteBufHolderCopyright © 2008–2015 The Netty Project. All rights reserved.