Package | Description |
---|---|
net.ymate.platform.webmvc.view | |
net.ymate.platform.webmvc.view.impl |
Modifier and Type | Method and Description |
---|---|
static HttpStatusView |
View.httpStatusView(int status) |
static HttpStatusView |
View.httpStatusView(int status,
String msg) |
Modifier and Type | Field and Description |
---|---|
static HttpStatusView |
HttpStatusView.BAD_REQUEST
STATUS: 400
|
static HttpStatusView |
HttpStatusView.METHOD_NOT_ALLOWED
STATUS: 405
|
static HttpStatusView |
HttpStatusView.NOT_FOUND
STATUS: 404
|
Modifier and Type | Method and Description |
---|---|
static HttpStatusView |
HttpStatusView.bind(int status) |
static HttpStatusView |
HttpStatusView.bind(int status,
String msg) |
HttpStatusView |
HttpStatusView.writeBody(String bodyStr)
将文本内容写入回应数据流(注:调用此方法需采用useError=false设置)
|
Copyright © 2022. All rights reserved.