Annotation Interface OnMessage


Annotation that can be applied to a method that will receive WebSocket message frames. Largely mirrors the equivalent annotation in javax.websocket and eventual support for the specification could be added in the future.
Since:
1.0
Author:
graemerocher
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    The maximum size of a WebSocket payload.
  • Element Details

    • maxPayloadLength

      int maxPayloadLength
      The maximum size of a WebSocket payload.
      Returns:
      The max size
      Default:
      65536