Class OutboundSSEEventImpl
java.lang.Object
ee.jakarta.tck.ws.rs.jaxrs21.ee.sse.SSEEventImpl
ee.jakarta.tck.ws.rs.jaxrs21.ee.sse.OutboundSSEEventImpl
- All Implemented Interfaces:
jakarta.ws.rs.sse.OutboundSseEvent
,jakarta.ws.rs.sse.SseEvent
public class OutboundSSEEventImpl
extends SSEEventImpl
implements jakarta.ws.rs.sse.OutboundSseEvent
-
Nested Class Summary
Nested classes/interfaces inherited from interface jakarta.ws.rs.sse.OutboundSseEvent
jakarta.ws.rs.sse.OutboundSseEvent.Builder
-
Field Summary
FieldsFields inherited from class ee.jakarta.tck.ws.rs.jaxrs21.ee.sse.SSEEventImpl
comment, delay, id, name
Fields inherited from interface jakarta.ws.rs.sse.SseEvent
RECONNECT_NOT_SET
-
Constructor Summary
ConstructorsConstructorDescriptionOutboundSSEEventImpl
(Object data) OutboundSSEEventImpl
(Object data, String comment, String id, String name, int delay) -
Method Summary
Modifier and TypeMethodDescriptiongetData()
jakarta.ws.rs.core.MediaType
Class<?>
getType()
boolean
setGenericType
(Type genericType) Methods inherited from class ee.jakarta.tck.ws.rs.jaxrs21.ee.sse.SSEEventImpl
getComment, getDelay, getId, getName, getReconnectDelay, setComment, setDelay, setId, setName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface jakarta.ws.rs.sse.SseEvent
getComment, getId, getName, getReconnectDelay
-
Field Details
-
type
-
genericType
-
data
-
media
public jakarta.ws.rs.core.MediaType media
-
-
Constructor Details
-
OutboundSSEEventImpl
-
OutboundSSEEventImpl
-
-
Method Details
-
isReconnectDelaySet
public boolean isReconnectDelaySet()- Specified by:
isReconnectDelaySet
in interfacejakarta.ws.rs.sse.SseEvent
-
getType
- Specified by:
getType
in interfacejakarta.ws.rs.sse.OutboundSseEvent
-
getGenericType
- Specified by:
getGenericType
in interfacejakarta.ws.rs.sse.OutboundSseEvent
-
getMediaType
public jakarta.ws.rs.core.MediaType getMediaType()- Specified by:
getMediaType
in interfacejakarta.ws.rs.sse.OutboundSseEvent
-
getData
- Specified by:
getData
in interfacejakarta.ws.rs.sse.OutboundSseEvent
-
setType
-
setGenericType
-
setData
-
setData
-