-
public interface FramedataThe interface for the frame
-
-
Method Summary
Modifier and Type Method Description abstract booleanisFin()Indicates that this is the final fragment in a message. abstract booleanisRSV1()Indicates that this frame has the rsv1 bit set. abstract booleanisRSV2()Indicates that this frame has the rsv2 bit set. abstract booleanisRSV3()Indicates that this frame has the rsv3 bit set. abstract booleangetTransfereMasked()Defines whether the "Payload data" is masked. abstract OpcodegetOpcode()Defines the interpretation of the "Payload data". abstract ByteBuffergetPayloadData()The "Payload data" which was sent in this frame abstract voidappend(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
-
-
-
-