OnMessage (WebSocket 1.1 API Documentation - Apache Tomcat 7.0.96)

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-2019 Apache Software Foundation. All Rights Reserved.