validate static method

void validate(
  1. StompFrame frame
)

Validates a STOMP frame according to STOMP specification

Implementation

static void validate(StompFrame frame) {
  _validateCommand(frame.command);
  _validateHeaders(frame);
  _validateBody(frame);
  _validateFrameSize(frame);
}