public interface SynapseHandler
| Modifier and Type | Method and Description |
|---|---|
void |
addProperty(String name,
Object value)
Add a handler property
|
String |
getName()
Get the name of the handler
|
Map |
getProperties()
Get all handler properties
|
boolean |
handleRequestInFlow(MessageContext synCtx)
Handle request message coming into the engine
|
boolean |
handleRequestOutFlow(MessageContext synCtx)
Handle request message going out from the engine
|
boolean |
handleResponseInFlow(MessageContext synCtx)
Handle response message coming into the engine
|
boolean |
handleResponseOutFlow(MessageContext synCtx)
Handle response message going out from the engine
|
void |
setName(String name)
Set the handler name
|
boolean handleRequestInFlow(MessageContext synCtx)
synCtx - incoming request message contextboolean handleRequestOutFlow(MessageContext synCtx)
synCtx - outgoing request message contextboolean handleResponseInFlow(MessageContext synCtx)
synCtx - incoming response message contextboolean handleResponseOutFlow(MessageContext synCtx)
synCtx - outgoing response message contextvoid addProperty(String name, Object value)
name - property namevalue - property valueMap getProperties()
String getName()
void setName(String name)
name - handler nameCopyright © 2005–2019 Apache Software Foundation. All rights reserved.