|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcom.bastengao.struts2.freeroute.Result
public class Result
generic action result
| 字段摘要 | |
|---|---|
protected Map<String,String> |
params
|
protected String |
resultType
|
| 构造方法摘要 | |
|---|---|
protected |
Result()
构造返回结果, resultType 默认为 "dispatcher" |
protected |
Result(String resultType)
构造返回结果 |
| 方法摘要 | |
|---|---|
static Result |
create()
构造返回结果, resultType 默认为 "dispatcher" |
static Result |
create(String resultType)
构造返回结果 |
String |
done()
完成 |
Result |
location(String value)
页面路径,如果有 |
Result |
param(String name,
String value)
设置某个参数。 |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 字段详细信息 |
|---|
protected Map<String,String> params
protected String resultType
| 构造方法详细信息 |
|---|
protected Result()
protected Result(String resultType)
resultType - 返回结果类型| 方法详细信息 |
|---|
public static Result create()
public static Result create(String resultType)
resultType - 返回结果类型
public Result param(String name,
String value)
name - 参数名称value - 值
public Result location(String value)
value -
public String done()
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||