Frame.Type
data, finRsvOp, mask, masked
Constructor and Description |
---|
ContinuationFrame() |
Modifier and Type | Method and Description |
---|---|
Frame.Type |
getType() |
ContinuationFrame |
setPayload(byte[] buf) |
ContinuationFrame |
setPayload(ByteBuffer buf)
Set the data payload.
|
ContinuationFrame |
setPayload(String message) |
assertValid, isControlFrame, isDataFrame, setIsContinuation
copy, copyHeaders, copyHeaders, equals, getMask, getOpCode, getPayload, getPayloadAsUTF8, getPayloadLength, hashCode, hasPayload, isFin, isLast, isMasked, isRsv1, isRsv2, isRsv3, reset, setFin, setMask, setMasked, setOpCode, setRsv1, setRsv2, setRsv3, toString
public ContinuationFrame setPayload(ByteBuffer buf)
WebSocketFrame
The provided buffer will be used as is, no copying of bytes performed.
The provided buffer should be flipped and ready to READ from.
setPayload
in class WebSocketFrame
buf
- the bytebuffer to setpublic ContinuationFrame setPayload(byte[] buf)
public ContinuationFrame setPayload(String message)
public Frame.Type getType()
getType
in interface Frame
getType
in class WebSocketFrame
Copyright © 1995-2015 Webtide. All Rights Reserved.