Interface InternalAPIHandler


public interface InternalAPIHandler
InternalAPIHandler is the interface that need to be implemented in order to set handlers to an internal API.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the Handler name.
    invoke(org.apache.synapse.MessageContext synCtx)
    Invoke the handler logic
    void
    Sets the name of the Handler
  • Method Details

    • 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