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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.websocket.api.extensions.Frame
Frame.Type
-
-
Constructor Summary
Constructors Constructor Description ContinuationFrame()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Frame.Type
getType()
Deprecated.ContinuationFrame
setPayload(byte[] buf)
Deprecated.ContinuationFrame
setPayload(java.lang.String message)
Deprecated.ContinuationFrame
setPayload(java.nio.ByteBuffer buf)
Deprecated.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, equals, getMask, getOpCode, getPayload, getPayloadAsUTF8, getPayloadLength, hashCode, hasPayload, isFin, isLast, isMasked, isRsv1, isRsv2, isRsv3, reset, setFin, setMask, setMasked, setRsv1, setRsv2, setRsv3, toString
-
-
-
-
Method Detail
-
setPayload
public ContinuationFrame setPayload(java.nio.ByteBuffer buf)
Deprecated.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
public ContinuationFrame setPayload(byte[] buf)
Deprecated.
-
setPayload
public ContinuationFrame setPayload(java.lang.String message)
Deprecated.
-
getType
public Frame.Type getType()
Deprecated.- Specified by:
getType
in interfaceFrame
- Overrides:
getType
in classWebSocketFrame
-
-