Class ReadOnlyDelegatedFrame
- java.lang.Object
-
- org.eclipse.jetty.websocket.common.frames.ReadOnlyDelegatedFrame
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.websocket.api.extensions.Frame
Frame.Type
-
-
Constructor Summary
Constructors Constructor Description ReadOnlyDelegatedFrame(Frame frame)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description byte[]
getMask()
byte
getOpCode()
java.nio.ByteBuffer
getPayload()
int
getPayloadLength()
The original payload length (Buffer.remaining()
)Frame.Type
getType()
boolean
hasPayload()
boolean
isFin()
boolean
isLast()
Deprecated.boolean
isMasked()
boolean
isRsv1()
boolean
isRsv2()
boolean
isRsv3()
-
-
-
Constructor Detail
-
ReadOnlyDelegatedFrame
public ReadOnlyDelegatedFrame(Frame frame)
-
-
Method Detail
-
getPayload
public java.nio.ByteBuffer getPayload()
- Specified by:
getPayload
in interfaceFrame
-
getPayloadLength
public int getPayloadLength()
Description copied from interface:Frame
The original payload length (Buffer.remaining()
)- Specified by:
getPayloadLength
in interfaceFrame
- Returns:
- the original payload length (
Buffer.remaining()
)
-
getType
public Frame.Type getType()
-
hasPayload
public boolean hasPayload()
- Specified by:
hasPayload
in interfaceFrame
-
isLast
@Deprecated public boolean isLast()
Deprecated.Description copied from interface:Frame
Same asFrame.isFin()
-
-