@Retention(RUNTIME)
@Target(TYPE)
public @interface ServerSentEvent
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 ServerSentEventConnection.getParameter(String)
Only a single instance of the callback will be created at deployment time.Modifier and Type | Required Element | Description |
---|---|---|
java.lang.String |
value |
The path to register this SSE handler.
|
Copyright © 2018. All rights reserved.