Package io.undertow.servlet.sse
Annotation Type ServerSentEvent
-
@Retention(RUNTIME) @Target(TYPE) public @interface ServerSentEventAnnotation 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
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.StringvalueThe path to register this SSE handler.
-