org.springframework.extensions.webscripts
Class DeclarativeWebStudioWebScript

java.lang.Object
  extended by org.springframework.extensions.webscripts.AbstractWebScript
      extended by org.springframework.extensions.webscripts.DeclarativeWebScript
          extended by org.springframework.extensions.webscripts.DeclarativeWebStudioWebScript
All Implemented Interfaces:
WebScript

public class DeclarativeWebStudioWebScript
extends DeclarativeWebScript

Base Web Script implementation for Web Studio Web Scripts This extends from DeclarativeSiteWebScript so as to provide root-scoped objects directly from the Web Framework (Surf). It also introduces a new root-scoped object called "webstudio"

Author:
muzquiano

Nested Class Summary
 
Nested classes/interfaces inherited from class org.springframework.extensions.webscripts.AbstractWebScript
AbstractWebScript.ScriptDetails
 
Constructor Summary
DeclarativeWebStudioWebScript()
           
 
Method Summary
protected  Map<String,Object> createScriptParameters(WebScriptRequest req, WebScriptResponse res, Map<String,Object> customParams)
          Create a model for script usage
 
Methods inherited from class org.springframework.extensions.webscripts.DeclarativeWebScript
execute, executeImpl, executeImpl, executeImpl, renderFormatTemplate
 
Methods inherited from class org.springframework.extensions.webscripts.AbstractWebScript
createArgs, createArgsM, createHeaders, createHeadersM, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeclarativeWebStudioWebScript

public DeclarativeWebStudioWebScript()
Method Detail

createScriptParameters

protected Map<String,Object> createScriptParameters(WebScriptRequest req,
                                                    WebScriptResponse res,
                                                    Map<String,Object> customParams)
Description copied from class: AbstractWebScript
Create a model for script usage

Overrides:
createScriptParameters in class AbstractWebScript
Parameters:
req - web script request
res - web script response
Returns:
script model


Copyright © 2009 SpringSource, Inc. All Rights Reserved.