OnMessage (Apache Tomcat 7.0.104 API Documentation)

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