Package io.undertow.servlet.sse
Annotation Type ServerSentEvent
-
@Retention(RUNTIME) @Target(TYPE) public @interface ServerSentEvent
Annotation that can be applied to classes that implementServerSentEventConnectionCallbackThese classes will then have handlers registered under the given path. This path is a path template, any path parameter values can be retrieved fromServerSentEventConnection.getParameter(String)Only a single instance of the callback will be created at deployment time.- Author:
- Stuart Douglas
-
-
Element Detail
-
value
String value
The path to register this SSE handler. This path can be a path template.
-
-