Interface Frame
-
- All Known Implementing Classes:
BinaryFrame
,CloseFrame
,ContinuationFrame
,ControlFrame
,DataFrame
,PingFrame
,PongFrame
,ReadOnlyDelegatedFrame
,TextFrame
,WebSocketFrame
@Deprecated(since="2021-05-27") public interface Frame
Deprecated.The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.An immutable websocket frame.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Frame.Type
Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description byte[]
getMask()
Deprecated.byte
getOpCode()
Deprecated.java.nio.ByteBuffer
getPayload()
Deprecated.int
getPayloadLength()
Deprecated.The original payload length (Buffer.remaining()
)Frame.Type
getType()
Deprecated.boolean
hasPayload()
Deprecated.boolean
isFin()
Deprecated.boolean
isLast()
Deprecated.useisFin()
insteadboolean
isMasked()
Deprecated.boolean
isRsv1()
Deprecated.boolean
isRsv2()
Deprecated.boolean
isRsv3()
Deprecated.
-
-
-
Method Detail
-
getMask
byte[] getMask()
Deprecated.
-
getOpCode
byte getOpCode()
Deprecated.
-
getPayload
java.nio.ByteBuffer getPayload()
Deprecated.
-
getPayloadLength
int getPayloadLength()
Deprecated.The original payload length (Buffer.remaining()
)- Returns:
- the original payload length (
Buffer.remaining()
)
-
getType
Frame.Type getType()
Deprecated.
-
hasPayload
boolean hasPayload()
Deprecated.
-
isFin
boolean isFin()
Deprecated.
-
isLast
@Deprecated boolean isLast()
Deprecated.useisFin()
insteadSame asisFin()
- Returns:
- true if final frame.
-
isMasked
boolean isMasked()
Deprecated.
-
isRsv1
boolean isRsv1()
Deprecated.
-
isRsv2
boolean isRsv2()
Deprecated.
-
isRsv3
boolean isRsv3()
Deprecated.
-
-