org.springframework.extensions.webscripts.servlet.mvc
Class WebScriptView
java.lang.Object
org.springframework.context.support.ApplicationObjectSupport
org.springframework.web.context.support.WebApplicationObjectSupport
org.springframework.web.servlet.view.AbstractView
org.springframework.web.servlet.view.AbstractUrlBasedView
org.springframework.extensions.webscripts.servlet.mvc.WebScriptView
- All Implemented Interfaces:
- org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.web.context.ServletContextAware, org.springframework.web.servlet.View
public class WebScriptView
- extends org.springframework.web.servlet.view.AbstractUrlBasedView
Web Script view implementation
- Author:
- muzquiano
Fields inherited from class org.springframework.web.servlet.view.AbstractView |
DEFAULT_CONTENT_TYPE |
Fields inherited from class org.springframework.context.support.ApplicationObjectSupport |
logger |
Fields inherited from interface org.springframework.web.servlet.View |
RESPONSE_STATUS_ATTRIBUTE |
Method Summary |
protected void |
exposeForwardRequestAttributes(javax.servlet.http.HttpServletRequest request)
Expose forward request attributes. |
protected void |
renderMergedOutputModel(Map model,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
static void |
setLanguageFromRequestHeader(javax.servlet.http.HttpServletRequest req)
Apply Client and Repository language locale based on the 'Accept-Language' request header |
Methods inherited from class org.springframework.web.servlet.view.AbstractUrlBasedView |
afterPropertiesSet, checkResource, getUrl, isUrlRequired, setUrl, toString |
Methods inherited from class org.springframework.web.servlet.view.AbstractView |
addStaticAttribute, createRequestContext, createTemporaryOutputStream, exposeModelAsRequestAttributes, generatesDownloadContent, getAttributesMap, getBeanName, getContentType, getRequestContextAttribute, getStaticAttributes, prepareResponse, render, setAttributes, setAttributesCSV, setAttributesMap, setBeanName, setContentType, setRequestContextAttribute, writeToResponse |
Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport |
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext |
Methods inherited from class org.springframework.context.support.ApplicationObjectSupport |
getApplicationContext, getMessageSourceAccessor, initApplicationContext, requiredContextClass, setApplicationContext |
container
protected RuntimeContainer container
authenticatorFactory
protected ServletAuthenticatorFactory authenticatorFactory
configService
protected ConfigService configService
serverProperties
protected static ServerProperties serverProperties
- Host Server Configuration
WebScriptView
public WebScriptView(RuntimeContainer container,
ServletAuthenticatorFactory authenticatorFactory,
ConfigService configService)
renderMergedOutputModel
protected void renderMergedOutputModel(Map model,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
- Specified by:
renderMergedOutputModel
in class org.springframework.web.servlet.view.AbstractView
- Throws:
Exception
exposeForwardRequestAttributes
protected void exposeForwardRequestAttributes(javax.servlet.http.HttpServletRequest request)
- Expose forward request attributes.
- Parameters:
request
- the request
setLanguageFromRequestHeader
public static void setLanguageFromRequestHeader(javax.servlet.http.HttpServletRequest req)
- Apply Client and Repository language locale based on the 'Accept-Language' request header
Copyright © 2009 SpringSource, Inc. All Rights Reserved.