| 程序包 | 说明 |
|---|---|
| com.bastengao.struts2.freeroute |
| 限定符和类型 | 类和说明 |
|---|---|
class |
ChainResult
chain result.
|
class |
HttpHeaderResult
http header result.
|
class |
JsonResult
json result of JSON plugin.
|
class |
StreamResult
stream result.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Result |
Result.create()
构造返回结果, resultType 默认为 "dispatcher"
|
static Result |
Result.create(String resultType)
构造返回结果
|
Result |
Result.location(String value)
页面路径,如果有
|
Result |
Result.param(String name,
String value)
设置某个参数。
|
Copyright © 2013 bastengao. All Rights Reserved.