public class ByteArrayCoercion extends Object implements InputCoercion<byte[]>, OutputCoercion
| Constructor and Description |
|---|
ByteArrayCoercion() |
| Modifier and Type | Method and Description |
|---|---|
Optional<byte[]> |
tryCoerceParam(InvocationContext currentContext,
int arg,
InputEvent input,
MethodWrapper method) |
Optional<OutputEvent> |
wrapFunctionResult(InvocationContext ctx,
MethodWrapper method,
Object value) |
public Optional<OutputEvent> wrapFunctionResult(InvocationContext ctx, MethodWrapper method, Object value)
wrapFunctionResult in interface OutputCoercionpublic Optional<byte[]> tryCoerceParam(InvocationContext currentContext, int arg, InputEvent input, MethodWrapper method)
tryCoerceParam in interface InputCoercion<byte[]>Copyright © 2023. All rights reserved.