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 |
|---|---|
abstract WebSocketFrame |
copy() |
abstract WebSocketFrame |
duplicate() |
boolean |
isFinalFragment()
Flag to indicate if this frame is the final fragment in a message.
|
WebSocketFrame |
retain() |
WebSocketFrame |
retain(int increment) |
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 abstract WebSocketFrame copy()
copy in interface io.netty.buffer.ByteBufHoldercopy in class io.netty.buffer.DefaultByteBufHolderpublic abstract WebSocketFrame duplicate()
duplicate in interface io.netty.buffer.ByteBufHolderduplicate in class io.netty.buffer.DefaultByteBufHolderpublic String toString()
toString in class io.netty.buffer.DefaultByteBufHolderpublic WebSocketFrame retain()
retain in interface io.netty.buffer.ByteBufHolderretain in interface io.netty.util.ReferenceCountedretain in class io.netty.buffer.DefaultByteBufHolderpublic WebSocketFrame retain(int increment)
retain in interface io.netty.buffer.ByteBufHolderretain in interface io.netty.util.ReferenceCountedretain in class io.netty.buffer.DefaultByteBufHolderpublic WebSocketFrame touch()
touch in interface io.netty.buffer.ByteBufHoldertouch in interface io.netty.util.ReferenceCountedtouch in class io.netty.buffer.DefaultByteBufHolderpublic WebSocketFrame touch(Object hint)
touch in interface io.netty.buffer.ByteBufHoldertouch in interface io.netty.util.ReferenceCountedtouch in class io.netty.buffer.DefaultByteBufHolderCopyright © 2008–2015 The Netty Project. All rights reserved.