Uses of Interface
javax.ws.rs.sse.OutboundSseEvent.Builder
-
Packages that use OutboundSseEvent.Builder Package Description javax.ws.rs.sse Server-Sent Events related API. -
-
Uses of OutboundSseEvent.Builder in javax.ws.rs.sse
Methods in javax.ws.rs.sse that return OutboundSseEvent.Builder Modifier and Type Method Description OutboundSseEvent.Builder
OutboundSseEvent.Builder. comment(String comment)
Set comment string associated with the event.OutboundSseEvent.Builder
OutboundSseEvent.Builder. data(Class type, Object data)
Set event data and java type of event data.OutboundSseEvent.Builder
OutboundSseEvent.Builder. data(Object data)
Set event data and java type of event data.OutboundSseEvent.Builder
OutboundSseEvent.Builder. data(GenericType type, Object data)
Set event data and a generic java type of event data.OutboundSseEvent.Builder
OutboundSseEvent.Builder. id(String id)
Set the event id.OutboundSseEvent.Builder
OutboundSseEvent.Builder. mediaType(MediaType mediaType)
Set themedia type
of the event data.OutboundSseEvent.Builder
OutboundSseEvent.Builder. name(String name)
Set event name.OutboundSseEvent.Builder
Sse. newEventBuilder()
Get a new outbound event builder.OutboundSseEvent.Builder
OutboundSseEvent.Builder. reconnectDelay(long milliseconds)
Set reconnection delay (in milliseconds) that indicates how long the event receiver should wait before attempting to reconnect in case a connection to SSE event source is lost.
-