Interface WebScript

All Known Implementing Classes:
AbstractWebScript, DeclarativeWebScript

public interface WebScript
Web Script
Author:
davidc
  • Method Details

    • 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

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

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

      void setURLModelFactory(URLModelFactory urlModelFactory)