org.logdoc.fairhttp.structs.websocket.frames.TextFrame Maven / Gradle / Ivy
package org.logdoc.fairhttp.structs.websocket.frames;
import org.logdoc.fairhttp.structs.websocket.Opcode;
import static org.logdoc.helpers.Texts.isValidUTF8;
public class TextFrame extends DataFrame {
public TextFrame() {
super(Opcode.TEXT);
}
@Override
public boolean isValid() {
return super.isValid() && isValidUTF8(getPayloadData());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy