public class Marshallers extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> EventStep<AttributesImpl,T,String,String> |
binary()
Builds a Binary Content Mode marshaller to marshal cloud events as JSON for
HTTP Transport Binding
|
static <T> EventStep<AttributesImpl,T,String,String> |
structured()
Builds a Structured Content Mode marshaller to marshal cloud event as JSON for
HTTP Transport Binding
|
public static <T> EventStep<AttributesImpl,T,String,String> binary()
T - The 'data' typeCloudEventImpl and marshal as JSONBinaryMarshallerpublic static <T> EventStep<AttributesImpl,T,String,String> structured()
T - The 'data' typeCloudEventImpl and marshal as JSONStructuredMarshallerCopyright © 2019. All rights reserved.