Class WebScriptViewRuntime
- java.lang.Object
-
- org.springframework.extensions.webscripts.AbstractRuntime
-
- org.springframework.extensions.webscripts.servlet.WebScriptServletRuntime
-
- org.springframework.extensions.webscripts.servlet.mvc.WebScriptViewRuntime
-
- All Implemented Interfaces:
Runtime
public class WebScriptViewRuntime extends WebScriptServletRuntime
Runtime for WebScript View. Extends the WebScript servlet runtime, delegates to the resource controller for access to resources and constructs using the supplied MVC view name URL.- Author:
- muzquiano, kevinr
-
-
Field Summary
-
Fields inherited from class org.springframework.extensions.webscripts.servlet.WebScriptServletRuntime
authFactory, req, res, serverProperties, servletReq, servletRes, servletSession
-
Fields inherited from class org.springframework.extensions.webscripts.AbstractRuntime
container, exceptionLogger, logger, session
-
-
Constructor Summary
Constructors Constructor Description WebScriptViewRuntime(java.lang.String url, RuntimeContainer container, ServletAuthenticatorFactory authFactory, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, ServerProperties serverProperties)Construction
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected WebScriptResponsecreateResponse()Create a Web Script Responseprotected java.lang.StringgetScriptUrl()Get the Web Script Url-
Methods inherited from class org.springframework.extensions.webscripts.servlet.WebScriptServletRuntime
createAuthenticator, createRequest, createSessionFactory, getHttpServletRequest, getHttpServletResponse, getName, getScriptMethod, getSupportedMethods
-
Methods inherited from class org.springframework.extensions.webscripts.AbstractRuntime
beforeProcessError, executeScript, executeScript, getContainer, getFormatStatusTemplate, getRealWebScriptRequest, getRealWebScriptResponse, getScriptParameters, getSession, getStatusCodeTemplate, getStatusTemplate, getTemplateParameters, renderErrorResponse, setURLModelFactory
-
-
-
-
Constructor Detail
-
WebScriptViewRuntime
public WebScriptViewRuntime(java.lang.String url, RuntimeContainer container, ServletAuthenticatorFactory authFactory, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, ServerProperties serverProperties)Construction- Parameters:
url- View name URLcontainer- RuntimeContainerauthFactory- ServletAuthenticatorFactoryreq- HttpServletRequestres- HttpServletResponseserverProperties- ServerProperties
-
-
Method Detail
-
getScriptUrl
protected java.lang.String getScriptUrl()
Description copied from class:AbstractRuntimeGet the Web Script Url- Overrides:
getScriptUrlin classWebScriptServletRuntime- Returns:
- web script url
-
createResponse
protected WebScriptResponse createResponse()
Description copied from class:AbstractRuntimeCreate a Web Script Response- Overrides:
createResponsein classWebScriptServletRuntime- Returns:
- web script response
-
-