Package jakarta.websocket

## Annotation Type OnMessage

-     @Retention(RUNTIME)
      @Target(METHOD)
      public @interface OnMessage

- - ### Optional Element Summary

    Optional Elements
    Modifier and Type | Optional Element | Description
    --- | --- | ---
    `long` | `maxMessageSize` |

- - ### Element Detail

    - #### maxMessageSize

          long maxMessageSize

      Default:
        -1L