getPayLoad

nextFrame

Read the next WebSocket frame, reading data from the processor as
necessary.

Parameters:

processor - Processor associated with the WebSocket connection on
which the frame has been sent

block - Should this method block until a frame is presented if no
data is currently available to process. Note that is a
single byte is available, this method will block until the
complete frame (excluding payload for non-control frames) is
available.

Throws:

java.io.IOException - If a problem occurs processing the frame. Any
exception will trigger the closing of the WebSocket
connection.