static WebSocketFrame ofText(String text, boolean finalFragment) {
        requireNonNull(text, "text");
        return new ByteArrayWebSocketFrame(text.getBytes(StandardCharsets.UTF_8), WebSocketFrameType.TEXT,
                                           finalFragment, text);
    }
Returns a new text {@link WebSocketFrame} with the text and {@code finalFragment}. When the
{@code finalFragment} is {@code false}, {@link #ofContinuation(byte[])} frames must be followed.

@see <a href="https://datatracker.ietf.org/doc/html/rfc6455#section-5.6">Data Frames</a>
core/src/main/java/com/linecorp/armeria/common/websocket/WebSocketFrame.java