-
public interface Framedata
The interface for the frame
-
-
Method Summary
Modifier and Type Method Description abstract boolean
isFin()
Indicates that this is the final fragment in a message. abstract boolean
isRSV1()
Indicates that this frame has the rsv1 bit set. abstract boolean
isRSV2()
Indicates that this frame has the rsv2 bit set. abstract boolean
isRSV3()
Indicates that this frame has the rsv3 bit set. abstract boolean
getTransfereMasked()
Defines whether the "Payload data" is masked. abstract Opcode
getOpcode()
Defines the interpretation of the "Payload data". abstract ByteBuffer
getPayloadData()
The "Payload data" which was sent in this frame abstract void
append(Framedata nextframe)
Appends an additional frame to the current frameThis methods does not override the opcode, but does override the fin -
-
Method Detail
-
isFin
abstract boolean isFin()
Indicates that this is the final fragment in a message. The first fragment MAY also be thefinal fragment.
-
isRSV1
abstract boolean isRSV1()
Indicates that this frame has the rsv1 bit set.
-
isRSV2
abstract boolean isRSV2()
Indicates that this frame has the rsv2 bit set.
-
isRSV3
abstract boolean isRSV3()
Indicates that this frame has the rsv3 bit set.
-
getTransfereMasked
abstract boolean getTransfereMasked()
Defines whether the "Payload data" is masked.
-
getPayloadData
abstract ByteBuffer getPayloadData()
The "Payload data" which was sent in this frame
-
-
-
-