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() |
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.ByteBufHolder
copy
in class io.netty.buffer.DefaultByteBufHolder
public abstract WebSocketFrame duplicate()
duplicate
in interface io.netty.buffer.ByteBufHolder
duplicate
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
Copyright © 2008–2013 The Netty Project. All rights reserved.