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()bytegetOpCode()java.nio.ByteBuffergetPayload()intgetPayloadLength()The original payload length (Buffer.remaining())Frame.TypegetType()booleanhasPayload()booleanisFin()booleanisLast()Deprecated.booleanisMasked()booleanisRsv1()booleanisRsv2()booleanisRsv3()
-
-
-
Constructor Detail
-
ReadOnlyDelegatedFrame
public ReadOnlyDelegatedFrame(Frame frame)
-
-
Method Detail
-
getPayload
public java.nio.ByteBuffer getPayload()
- Specified by:
getPayloadin interfaceFrame
-
getPayloadLength
public int getPayloadLength()
Description copied from interface:FrameThe original payload length (Buffer.remaining())- Specified by:
getPayloadLengthin interfaceFrame- Returns:
- the original payload length (
Buffer.remaining())
-
getType
public Frame.Type getType()
-
hasPayload
public boolean hasPayload()
- Specified by:
hasPayloadin interfaceFrame
-
isLast
@Deprecated public boolean isLast()
Deprecated.Description copied from interface:FrameSame asFrame.isFin()
-
-