Modifier and Type | Field and Description |
---|---|
static String |
VIEW_FORWARD |
static String |
VIEW_FORWARD2 |
static String |
VIEW_HTTP |
static String |
VIEW_IOC |
static String |
VIEW_JSON |
static String |
VIEW_JSONP |
static String |
VIEW_JSP |
static String |
VIEW_RAW |
static String |
VIEW_REDIRECT |
static String |
VIEW_REDIRECT2 |
static String |
VIEW_VOID |
Constructor and Description |
---|
DefaultViewMaker() |
Modifier and Type | Method and Description |
---|---|
View |
make(Ioc ioc,
String type,
String value)
注解 '@Ok' 和 '@Fail' 的值是个字符串,用户可以随意定义。字符串从第一个冒号处拆成两半
前半部分会转换成小写,作为视图类型,后一半为视图的值。
|
public static final String VIEW_JSP
public static final String VIEW_JSON
public static final String VIEW_JSONP
public static final String VIEW_REDIRECT
public static final String VIEW_REDIRECT2
public static final String VIEW_VOID
public static final String VIEW_IOC
public static final String VIEW_HTTP
public static final String VIEW_FORWARD
public static final String VIEW_FORWARD2
public static final String VIEW_RAW
Copyright © 2017. All rights reserved.