Reports incorrect WebSocket methods annotated with @OnMessage.
This annotation marks methods that handle incoming WebSocket messages. Each WebSocket endpoint can have only one message-handling method
for every WebSocket message format: text, binary, and pong. Methods with the @OnMessage annotation are allowed to have
the following set of parameters in any order:
String to receive the whole messageString and boolean pair to receive the message in partsReader to receive the whole message as a blocking streamDecoder.Text or Decoder.TextStream)
byte[] or ByteBuffer to receive the whole messagebyte[] and boolean pair, or ByteBuffer and boolean pair to receive the message in partsInputStream to receive the whole message as a blocking streamDecoder.Binary or
Decoder.BinaryStream)
PongMessage for handling pong messagesString or Java primitive parameters annotated with @PathParam for server endpointsSession parameter
If the method returns a value, the WebSocket runtime will interpret it as a message to return to the peer.
The allowed return types are String, ByteBuffer, byte[], any Java primitive or class equivalent,
and anything for which there is an encoder. If the method returns a Java primitive value, the implementation must construct
the text message to send using the standard Java string representation of the Java primitive unless the developer provided an encoder
for the type configured for this endpoint, in which case that encoder must be used. If the method returns a class equivalent
of a Java primitive, the implementation must construct the text message from the Java primitive equivalent as described before.