Interface WebScript

    • Method Detail

      • init

        void init​(Container container,
                  Description description)
        Initialise a WebScript
        Parameters:
        container - Parent container
        description - Description of the WebScript provided by the registry
      • getDescription

        Description getDescription()
        Gets the Service Description
        Returns:
        service description
      • getResources

        java.util.ResourceBundle getResources()
        Gets the Service Resources
        Returns:
        ResourceBundle of services resources or null if none present
      • execute

        void execute​(WebScriptRequest req,
                     WebScriptResponse res)
              throws java.io.IOException
        Execute the Service
        Parameters:
        req - WebScriptRequest representing the request to this service
        res - WebScriptResponse encapsulating the result of this service
        Throws:
        java.io.IOException
      • setURLModelFactory

        void setURLModelFactory​(URLModelFactory urlModelFactory)