Class ContinuationFrame
java.lang.Object
org.eclipse.jetty.websocket.common.WebSocketFrame
org.eclipse.jetty.websocket.common.frames.DataFrame
org.eclipse.jetty.websocket.common.frames.ContinuationFrame
- All Implemented Interfaces:
Frame
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.websocket.api.extensions.Frame
Frame.Type
-
Field Summary
Fields inherited from class org.eclipse.jetty.websocket.common.WebSocketFrame
data, finRsvOp, mask, masked
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetType()
setPayload
(byte[] buf) setPayload
(String message) setPayload
(ByteBuffer buf) Set the data payload.Methods inherited from class org.eclipse.jetty.websocket.common.frames.DataFrame
assertValid, isControlFrame, isDataFrame, setIsContinuation
Methods inherited from class org.eclipse.jetty.websocket.common.WebSocketFrame
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
-
Constructor Details
-
ContinuationFrame
public ContinuationFrame()
-
-
Method Details
-
setPayload
Description copied from class:WebSocketFrame
Set the data payload.The provided buffer will be used as is, no copying of bytes performed.
The provided buffer should be flipped and ready to READ from.
- Overrides:
setPayload
in classWebSocketFrame
- Parameters:
buf
- the bytebuffer to set- Returns:
- the frame itself
-
setPayload
-
setPayload
-
getType
- Specified by:
getType
in interfaceFrame
- Overrides:
getType
in classWebSocketFrame
-