T - Type of the stream body.@Nonnull public class GenericStreamEventData<T> extends Object
| Constructor and Description |
|---|
GenericStreamEventData(Map<String,String> headers,
T body)
Constructs a
GenericStreamEventData instance. |
public GenericStreamEventData(Map<String,String> headers, T body)
GenericStreamEventData instance. The given body and headers are taken as-is.headers - Map of key/value pairs of the event databody - body of the event dataCopyright © 2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.