JavaScript is disabled on your browser.
Skip navigation links
Overview
Class
Tree
Index
Search
Help
WebSocket 2.1 - Apache Tomcat
®
10.1.56
jakarta.websocket
OnError
Contents
Description
Hide sidebar
Show sidebar
Annotation Type OnError
@Retention
(
RUNTIME
)
@Target
(
METHOD
)
public @interface
OnError
Annotates a method on a POJO endpoint to handle error events. The annotated method will be called when an error occurs on the WebSocket session.