org.springframework.extensions.webscripts
Interface WebScript

All Known Implementing Classes:
AbstractWebScript, AtomWebScript, Console, ConsoleUpdate, DeclarativeWebScript, DeclarativeWebStudioWebScript, Index, IndexAll, IndexFamily, IndexLifecycle, IndexPackage, IndexUpdate, IndexURI, JavascriptDebugger, JavascriptDebuggerPost, MessagesWebScript, ServiceDescription, ServiceDump, ServiceInstall

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 SpringSource, Inc. All Rights Reserved.