Interface InternalAPIHandler
-
public interface InternalAPIHandlerInternalAPIHandleris the interface that need to be implemented in order to set handlers to an internal API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()Gets the Handler name.Booleaninvoke(org.apache.synapse.MessageContext synCtx)Invoke the handler logicvoidsetName(String name)Sets the name of the Handler
-
-
-
Method Detail
-
getName
String getName()
Gets the Handler name.- Returns:
- the name of the Handler
-
setName
void setName(String name)
Sets the name of the Handler- Parameters:
name- name of the Handler
-
invoke
Boolean invoke(org.apache.synapse.MessageContext synCtx)
Invoke the handler logic- Returns:
- state
-
-