@Nonnull public class StreamEventData extends GenericStreamEventData<ByteBuffer>
| Constructor and Description |
|---|
StreamEventData(Map<String,String> headers,
ByteBuffer body)
Constructs a
StreamEventData instance. |
public StreamEventData(Map<String,String> headers, ByteBuffer body)
StreamEventData 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.