RECONNECT_NOT_SET| Modifier and Type | Method | Description | 
|---|---|---|
| boolean | isEmpty() | Check if the event is empty (i.e. | 
| String | readData() | Get the original event data as  String. | 
| <T> T | readData(Class<T> type) | Read event data as a given Java type. | 
| <T> T | readData(Class<T> messageType,
        MediaType mediaType) | Read event data as a given Java type. | 
| <T> T | readData(GenericType<T> type) | Read event data as a given generic type. | 
| <T> T | readData(GenericType<T> type,
        MediaType mediaType) | Read event data as a given generic type. | 
getComment, getId, getName, getReconnectDelay, isReconnectDelaySetboolean isEmpty()
true if current instance does not contain any data, false otherwise.String readData()
String.ProcessingException - when provided type can't be read. The thrown exception wraps the original cause.<T> T readData(Class<T> type)
type - Java type to be used for event data de-serialization.ProcessingException - when provided type can't be read. The thrown exception wraps the original cause.<T> T readData(GenericType<T> type)
type - generic type to be used for event data de-serialization.ProcessingException - when provided type can't be read. The thrown exception wraps the original cause.<T> T readData(Class<T> messageType, MediaType mediaType)
messageType - Java type to be used for event data de-serialization.mediaType - media type to be used for event data de-serialization.ProcessingException - when provided type can't be read. The thrown exception wraps the original cause.<T> T readData(GenericType<T> type, MediaType mediaType)
type - generic type to be used for event data de-serialization.mediaType - media type to be used for event data de-serialization.ProcessingException - when provided type can't be read. The thrown exception wraps the original cause.Copyright (c) 2019 Eclipse Foundation. Licensed under Eclipse Foundation Specification License.