Top Description Methods
io.undertow.servlet.sse

public @Interface ServerSentEvent

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

Annotation that can be applied to classes that implement io.undertow.server.handlers.sse.ServerSentEventConnectionCallback These classes will then have handlers registered under the given path. This path is a path template, any path parameter values can be retrieved from io.undertow.server.handlers.sse.ServerSentEventConnection#getParameter(String) Only a single instance of the callback will be created at deployment time.
Author
Stuart Douglas

Method Summary

Modifier and TypeMethod and Description
public String
value()

The path to register this SSE handler.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

valueback to summary
public String value()

The path to register this SSE handler. This path can be a path template.