public class Unmarshallers extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> HeadersStep<AttributesImpl,T,String> |
binary(Class<T> type)
Builds a Binary Content Mode unmarshaller to unmarshal JSON as CloudEvents data
for HTTP Transport Binding
|
static <T> HeadersStep<AttributesImpl,T,String> |
structured(Class<T> typeOfData)
Builds a Structured Content Mode unmarshaller to unmarshal JSON as CloudEvents data
for HTTP Transport Binding
|
public static <T> HeadersStep<AttributesImpl,T,String> binary(Class<T> type)
T - The 'data' typetype - The type reference to use for 'data' unmarshalBinaryUnmarshallerpublic static <T> HeadersStep<AttributesImpl,T,String> structured(Class<T> typeOfData)
T - The 'data' typetypeOfData - The type reference to use for 'data' unmarshalStructuredUnmarshallerCopyright © 2019. All rights reserved.