AbstractWebSocketFrame.setPayload

Set the data payload. <p> The provided buffer will be used as is, no copying of bytes performed. <p> The provided buffer should be flipped and ready to READ from.

@param buf the bytebuffer to set @return the frame itself

class AbstractWebSocketFrame
setPayload
(
ByteBuffer buf
)

Meta