Class TextFrame
java.lang.Object
org.java_websocket.framing.FramedataImpl1
org.java_websocket.framing.DataFrame
org.java_websocket.framing.TextFrame
- All Implemented Interfaces:
Framedata
Class to represent a text frames
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidisValid()Check if the frame is valid due to specificationMethods inherited from class FramedataImpl1
append, equals, get, getOpcode, getPayloadData, getTransfereMasked, hashCode, isFin, isRSV1, isRSV2, isRSV3, setFin, setPayload, setRSV1, setRSV2, setRSV3, setTransferemasked, toString
-
Constructor Details
-
TextFrame
public TextFrame()constructor which sets the opcode of this frame to text
-
-
Method Details
-
isValid
Description copied from class:FramedataImpl1Check if the frame is valid due to specification- Overrides:
isValidin classDataFrame- Throws:
InvalidDataException- thrown if the frame is not a valid frame
-