Package io.undertow.websockets.core
Class UTF8Output
java.lang.Object
io.undertow.websockets.core.UTF8Output
Utility class which allows to extract a UTF8 String from bytes respecting valid code-points
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionextract()
Extract a String holding the utf8 textboolean
hasData()
void
write
(ByteBuffer... bytes)
-
Constructor Details
-
UTF8Output
-
UTF8Output
public UTF8Output()
-
-
Method Details
-
write
-
extract
Extract a String holding the utf8 text -
hasData
public boolean hasData()
-