public class EventBuilder extends Object
| Constructor and Description | 
|---|
EventBuilder()  | 
| Modifier and Type | Method and Description | 
|---|---|
static Event | 
withBody(byte[] body)  | 
static Event | 
withBody(byte[] body,
        Map<String,String> headers)
Instantiate an Event instance based on the provided body and headers. 
 | 
static Event | 
withBody(String body,
        Charset charset)  | 
static Event | 
withBody(String body,
        Charset charset,
        Map<String,String> headers)  | 
Copyright © 2009-2022 Apache Software Foundation. All Rights Reserved.