Top Description Methods
org.eclipse.jetty.websocket.api.annotations

public @Interface OnWebSocketError

extends Annotation
Annotations
@Documented
@Retention:RUNTIME
@Target:METHOD
Imports
java.lang.annotation.Documented, .ElementType, .Retention, .RetentionPolicy, .Target

Annotation for methods to receive WebSocket errors.

Acceptable method patterns:

  1. public void <methodName>(Throwable cause)
  2. public void <methodName>(Session session, Throwable cause)

Method Summary

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString