Annotation Type OnError


  • @Documented
    @Retention(RUNTIME)
    @Target(METHOD)
    @WebSocketMapping
    @Inherited
    public @interface OnError
    Annotation that can be applied to a method that will receive WebSocket errors. Largely mirrors the equivalent annotation in javax.websocket and eventual support for the specification could be added in the future.
    Since:
    1.0