public class JacksonCoercion extends Object implements InputCoercion<Object>, OutputCoercion
This supports marshalling and unmarshalling of event parameters and responses to
| Constructor and Description |
|---|
JacksonCoercion() |
| Modifier and Type | Method and Description |
|---|---|
static JacksonCoercion |
instance()
Return the global instance of this coercion
|
Optional<Object> |
tryCoerceParam(InvocationContext currentContext,
int param,
InputEvent input,
MethodWrapper method) |
Optional<OutputEvent> |
wrapFunctionResult(InvocationContext ctx,
MethodWrapper method,
Object value) |
public static JacksonCoercion instance()
public Optional<Object> tryCoerceParam(InvocationContext currentContext, int param, InputEvent input, MethodWrapper method)
tryCoerceParam in interface InputCoercion<Object>public Optional<OutputEvent> wrapFunctionResult(InvocationContext ctx, MethodWrapper method, Object value)
wrapFunctionResult in interface OutputCoercionCopyright © 2023. All rights reserved.