Class SimpleCallout

    • Constructor Detail

      • SimpleCallout

        public SimpleCallout()
    • Method Detail

      • execute

        protected abstract void execute​(SimpleCallout.CalloutInfo info)
                                 throws javax.servlet.ServletException
        Overwrite this method to implement a new servlet callout based in SimlpleCallout
        Parameters:
        info - The CalloutInfo that contains all helper data to access callout information and servlet information
        Throws:
        javax.servlet.ServletException
      • executeSimpleCallout

        public org.codehaus.jettison.json.JSONObject executeSimpleCallout​(RequestContext request)
                                                                   throws javax.servlet.ServletException,
                                                                          org.codehaus.jettison.json.JSONException
        This method execute the SimpleCallout operations.
        Returns:
        JSONObject with the values updated by the SimpleCallout.
        Throws:
        javax.servlet.ServletException
        org.codehaus.jettison.json.JSONException