public class JspView extends AbstractView
| Modifier and Type | Field and Description |
|---|---|
static String |
FILE_SUFFIX |
attributes, baseViewPath, contentType, responseDEFAULT_CHARSET| Constructor and Description |
|---|
JspView() |
JspView(IWebMvc owner) |
JspView(IWebMvc owner,
String path)
构造器
|
JspView(String path) |
| Modifier and Type | Method and Description |
|---|---|
static JspView |
bind() |
static JspView |
bind(IWebMvc owner) |
static JspView |
bind(IWebMvc owner,
String path) |
static JspView |
bind(String path) |
protected void |
doRenderView()
视图渲染具体操作
|
void |
render(OutputStream output)
视图渲染动作
|
addAttribute, addAttributes, addDateHeader, addHeader, addIntHeader, buildUrl, doProcessPath, doViewInit, getAttribute, getAttributes, getBaseViewPath, getContentType, render, setContentTypepublic static final String FILE_SUFFIX
public JspView(IWebMvc owner)
public JspView(IWebMvc owner, String path)
owner - 所属MVC框架管理器path - JSP文件路径public JspView()
public JspView(String path)
public static JspView bind()
protected void doRenderView()
throws Exception
AbstractViewdoRenderView in class AbstractViewException - 抛出任何可能异常public void render(OutputStream output) throws Exception
IViewrender in interface IViewrender in class AbstractViewoutput - 视图渲染指定输出流Exception - 抛出任何可能异常Copyright © 2022. All rights reserved.