Top Description Constructors Methods
org.java_websocket.framing

public Class TextFrame

extends DataFrame
Class Inheritance
Imports
org.java_websocket.enums.Opcode, org.java_websocket.exceptions.InvalidDataException, org.java_websocket.util.Charsetfunctions

Class to represent a text frames

Constructor Summary

AccessConstructor and Description
public
TextFrame()

constructor which sets the opcode of this frame to text

Method Summary

Modifier and TypeMethod and Description
public void
isValid()

Overrides org.java_websocket.framing.DataFrame.isValid.

Check if the frame is valid due to specification

Constructor Detail

TextFrameback to summary
public TextFrame()

constructor which sets the opcode of this frame to text

Method Detail

isValidback to summary
public void isValid() throws InvalidDataException

Overrides org.java_websocket.framing.DataFrame.isValid.

Doc from org.java_websocket.framing.FramedataImpl1.isValid.

Check if the frame is valid due to specification

Annotations
@Override
Exceptions
InvalidDataException:
thrown if the frame is not a valid frame