public class FileView
extends org.springframework.web.servlet.view.AbstractView
This view supports the following model elements:
KEY OBJECT Required === ====== ======== "file" java.io.File yes "contentType" java.lang.String no "characterEncoding" java.lang.Stringb noNOTE: If the content type is determined to be text, the character encoding is assumed to be UTF-8 unless
| Constructor and Description |
|---|
FileView() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
renderMergedOutputModel(java.util.Map model,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
addStaticAttribute, createMergedOutputModel, createRequestContext, createTemporaryOutputStream, exposeModelAsRequestAttributes, generatesDownloadContent, getAttributesMap, getBeanName, getContentType, getRequestContextAttribute, getRequestToExpose, getStaticAttributes, isExposePathVariables, prepareResponse, render, setAttributes, setAttributesCSV, setAttributesMap, setBeanName, setContentType, setExposeContextBeansAsAttributes, setExposedContextBeanNames, setExposePathVariables, setRequestContextAttribute, setResponseContentType, toString, writeToResponsegetServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextprotected void renderMergedOutputModel(java.util.Map model,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws java.lang.Exception
renderMergedOutputModel in class org.springframework.web.servlet.view.AbstractViewjava.lang.Exception