Annotation Type OnMessage
-
@Documented @Retention(RUNTIME) @Target(METHOD) @WebSocketMapping @Inherited public @interface OnMessage
Annotation that can be applied to a method that will receive WebSocket message frames. Largely mirrors the equivalent annotation injavax.websocketand eventual support for the specification could be added in the future.- Since:
- 1.0
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description intmaxPayloadLengthThe maximum size of a WebSocket payload.
-