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
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, servletSessionFields inherited from class org.springframework.extensions.webscripts.AbstractRuntime
container, exceptionLogger, logger, session -
Constructor Summary
ConstructorsConstructorDescriptionWebScriptViewRuntime(String url, RuntimeContainer container, ServletAuthenticatorFactory authFactory, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res, ServerProperties serverProperties) Construction -
Method Summary
Modifier and TypeMethodDescriptionprotected WebScriptResponseCreate a Web Script Responseprotected StringGet the Web Script UrlMethods inherited from class org.springframework.extensions.webscripts.servlet.WebScriptServletRuntime
createAuthenticator, createRequest, createSessionFactory, getHttpServletRequest, getHttpServletResponse, getName, getScriptMethod, getSupportedMethodsMethods inherited from class org.springframework.extensions.webscripts.AbstractRuntime
beforeProcessError, executeScript, executeScript, getContainer, getFormatStatusTemplate, getRealWebScriptRequest, getRealWebScriptResponse, getScriptParameters, getSession, getStatusCodeTemplate, getStatusTemplate, getTemplateParameters, renderErrorResponse, setURLModelFactory
-
Constructor Details
-
WebScriptViewRuntime
public WebScriptViewRuntime(String url, RuntimeContainer container, ServletAuthenticatorFactory authFactory, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res, ServerProperties serverProperties) Construction- Parameters:
url- View name URLcontainer- RuntimeContainerauthFactory- ServletAuthenticatorFactoryreq- HttpServletRequestres- HttpServletResponseserverProperties- ServerProperties
-
-
Method Details
-
getScriptUrl
Description copied from class:AbstractRuntimeGet the Web Script Url- Overrides:
getScriptUrlin classWebScriptServletRuntime- Returns:
- web script url
-
createResponse
Description copied from class:AbstractRuntimeCreate a Web Script Response- Overrides:
createResponsein classWebScriptServletRuntime- Returns:
- web script response
-