T - Payload type.public class Event<T> extends Object
| Constructor and Description |
|---|
Event(Map<String,Object> headers,
T payload) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
headers() |
T |
payload() |
String |
toString() |
Event<T> |
withHeader(String key,
Object value) |
Event<T> |
withPayload(T payload) |
Copyright © 2017. All rights reserved.