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(Map model,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) |
addStaticAttribute, createMergedOutputModel, createRequestContext, createTemporaryOutputStream, exposeModelAsRequestAttributes, generatesDownloadContent, getAttributesMap, getBeanName, getContentType, getRequestContextAttribute, getStaticAttributes, isExposePathVariables, prepareResponse, render, setAttributes, setAttributesCSV, setAttributesMap, setBeanName, setContentType, setExposePathVariables, setRequestContextAttribute, setResponseContentType, toString, writeToResponsegetServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextCopyright © 1999-2015 UCAR/Unidata. All Rights Reserved.