javax.websocket

## Annotation Type OnMessage

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

- - ### Optional Element Summary

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

- - ### Element Detail

    - #### maxMessageSize

          public abstract long maxMessageSize

      Default:
        -1L

Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.