Annotation Type OnWebSocketError
-
@Documented @Retention(RUNTIME) @Target(METHOD) public @interface OnWebSocketError
Annotation for receiving websocket errors (exceptions) that have occurred internally in the websocket implementation.Acceptable method patterns.
Note:methodName
can be any name you want to use.public void methodName(
Throwable
error)public void methodName(
Session
session,Throwable
error)