public final class InboundSseEventImpl extends Object implements javax.ws.rs.sse.InboundSseEvent
Modifier and Type | Method and Description |
---|---|
String |
getComment() |
String |
getId() |
String |
getName() |
long |
getReconnectDelay() |
boolean |
isEmpty() |
boolean |
isReconnectDelaySet() |
String |
readData() |
<T> T |
readData(Class<T> type) |
<T> T |
readData(Class<T> messageType,
javax.ws.rs.core.MediaType mediaType) |
<T> T |
readData(javax.ws.rs.core.GenericType<T> type) |
<T> T |
readData(javax.ws.rs.core.GenericType<T> type,
javax.ws.rs.core.MediaType mediaType) |
public String getId()
getId
in interface javax.ws.rs.sse.SseEvent
public String getName()
getName
in interface javax.ws.rs.sse.SseEvent
public String getComment()
getComment
in interface javax.ws.rs.sse.SseEvent
public long getReconnectDelay()
getReconnectDelay
in interface javax.ws.rs.sse.SseEvent
public boolean isReconnectDelaySet()
isReconnectDelaySet
in interface javax.ws.rs.sse.SseEvent
public boolean isEmpty()
isEmpty
in interface javax.ws.rs.sse.InboundSseEvent
public String readData()
readData
in interface javax.ws.rs.sse.InboundSseEvent
public <T> T readData(Class<T> type)
readData
in interface javax.ws.rs.sse.InboundSseEvent
public <T> T readData(javax.ws.rs.core.GenericType<T> type)
readData
in interface javax.ws.rs.sse.InboundSseEvent
public <T> T readData(Class<T> messageType, javax.ws.rs.core.MediaType mediaType)
readData
in interface javax.ws.rs.sse.InboundSseEvent
public <T> T readData(javax.ws.rs.core.GenericType<T> type, javax.ws.rs.core.MediaType mediaType)
readData
in interface javax.ws.rs.sse.InboundSseEvent
Apache CXF