public class AddContentActionHandler extends ExpressionBasedActionHandler
| Constructor and Description |
|---|
AddContentActionHandler(ProcessorAction action)
This constructor initialises the action.
|
| Modifier and Type | Method and Description |
|---|---|
List<ConfigMessage> |
init(Processor processor)
This method initialises the process action handler.
|
boolean |
process(Trace trace,
Node node,
Direction direction,
Map<String,?> headers,
Object[] values)
This method processes the supplied information to extract the relevant
details.
|
getValuegetAction, isUsesContent, isUsesHeaders, setAction, setUsesContent, setUsesHeaderspublic AddContentActionHandler(ProcessorAction action)
action - The actionpublic List<ConfigMessage> init(Processor processor)
init in class ExpressionBasedActionHandlerprocessor - The processorpublic boolean process(Trace trace, Node node, Direction direction, Map<String,?> headers, Object[] values)
ProcessorActionHandlerprocess in class ProcessorActionHandlertrace - The tracenode - The nodedirection - The directionheaders - The optional headersvalues - The valuesCopyright © 2015–2017 Red Hat, Inc.. All rights reserved.