public class ModelAndView
extends javax.servlet.ServletRequestWrapper
| Constructor and Description |
|---|
ModelAndView(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
| Modifier and Type | Method and Description |
|---|---|
void |
action() |
ModelAndView |
addObject(String attributeName,
Object attributeValue) |
ModelAndView |
addObject(String attributeName,
Object attributeValue,
ScopeTypeEnum scopeTypeEnum) |
ModelAndView |
addViewName(String viewName) |
javax.servlet.ServletContext |
getApplication() |
protected String |
getCurrentAction() |
PrintStream |
getPrintStream() |
PrintWriter |
getPrintWriter() |
javax.servlet.http.HttpServletResponse |
getResponse() |
javax.servlet.ServletOutputStream |
getServletOutputStream() |
boolean |
isCleared() |
void |
out(Object content) |
void |
out(Object content,
OutTypeEnum outType) |
void |
setAttribute(String name,
Object o) |
void |
setCleared(boolean cleared) |
void |
setResponseNoCache() |
getAsyncContext, getAttribute, getAttributeNames, getCharacterEncoding, getContentLength, getContentLengthLong, getContentType, getDispatcherType, getInputStream, getLocalAddr, getLocale, getLocales, getLocalName, getLocalPort, getParameter, getParameterMap, getParameterNames, getParameterValues, getProtocol, getReader, getRealPath, getRemoteAddr, getRemoteHost, getRemotePort, getRequest, getRequestDispatcher, getScheme, getServerName, getServerPort, getServletContext, isAsyncStarted, isAsyncSupported, isSecure, isWrapperFor, isWrapperFor, removeAttribute, setCharacterEncoding, setRequest, startAsync, startAsyncpublic ModelAndView(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
public boolean isCleared()
public void setCleared(boolean cleared)
public ModelAndView addViewName(String viewName)
public void setAttribute(String name, Object o)
setAttribute in interface javax.servlet.ServletRequestsetAttribute in class javax.servlet.ServletRequestWrapperpublic ModelAndView addObject(String attributeName, Object attributeValue)
public ModelAndView addObject(String attributeName, Object attributeValue, ScopeTypeEnum scopeTypeEnum)
public void action()
public javax.servlet.http.HttpServletResponse getResponse()
public javax.servlet.ServletContext getApplication()
public PrintWriter getPrintWriter()
public PrintStream getPrintStream() throws IOException
IOExceptionpublic javax.servlet.ServletOutputStream getServletOutputStream()
throws IOException
IOExceptionpublic void out(Object content)
public void out(Object content, OutTypeEnum outType)
public void setResponseNoCache()
protected String getCurrentAction()
Copyright © 2016 jufeng. All rights reserved.