public class SmartView extends Object implements org.springframework.web.servlet.View
| Modifier and Type | Class and Description |
|---|---|
static class |
SmartView.Mode |
| Modifier and Type | Field and Description |
|---|---|
static String |
CACHE_CONTROL |
static String |
NO_CACHE |
static String |
PRAGMA |
| Constructor and Description |
|---|
SmartView() |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType() |
void |
render(Map model,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
setBinaryKey(String binaryKey) |
void |
setContentType(String contentType) |
void |
setMode(SmartView.Mode mode) |
void |
setViewEngine(ScriptEngine viewEngine) |
public static final String CACHE_CONTROL
public static final String PRAGMA
public static final String NO_CACHE
public void setMode(SmartView.Mode mode)
public void setBinaryKey(String binaryKey)
public void render(Map model, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws Exception
render in interface org.springframework.web.servlet.ViewExceptionpublic void setViewEngine(ScriptEngine viewEngine)
public String getContentType()
getContentType in interface org.springframework.web.servlet.Viewpublic void setContentType(String contentType)
Copyright © 2015. All rights reserved.