org.springframework.extensions.webscripts
Interface WebScript

All Known Implementing Classes:
AbstractWebScript, AtomWebScript, DeclarativeWebScript

public interface WebScript

Web Script

Author:
davidc

Method Summary
 void execute(WebScriptRequest req, WebScriptResponse res)
          Execute the Service
 Description getDescription()
          Gets the Service Description
 ResourceBundle getResources()
          Gets the Service Resources
 

Method Detail

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


Copyright © 2009-2010 SpringSource, Inc. All Rights Reserved.