@Documented @Retention(value=RUNTIME) @Target(value=METHOD) @WebSocketMapping @Inherited public @interface OnMessage
javax.websocket and eventual support for the specification could be added in the future.| Modifier and Type | Optional Element and Description | 
|---|---|
| int | maxPayloadLengthThe maximum size of a WebSocket payload. |