public class ResponseValue extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static ResponseValue |
accepted() |
static ResponseValue |
badRequest() |
static ResponseValue |
created(URI uri) |
static ResponseValue |
forbidden() |
static ResponseValue |
forbidden(Object data) |
String |
getData() |
HttpStatus |
getHttpStatus() |
static ResponseValue |
internalServerError() |
static ResponseValue |
noContent() |
static ResponseValue |
notFound() |
static ResponseValue |
ok(Object data) |
static ResponseValue |
seeOther(URI uri) |
javax.ws.rs.core.Response |
toResponse() |
public static ResponseValue ok(Object data)
public static ResponseValue created(URI uri)
public static ResponseValue accepted()
public static ResponseValue noContent()
public static ResponseValue seeOther(URI uri)
public static ResponseValue badRequest()
public static ResponseValue forbidden(Object data)
public static ResponseValue forbidden()
public static ResponseValue notFound()
public static ResponseValue internalServerError()
public javax.ws.rs.core.Response toResponse()
public HttpStatus getHttpStatus()
public String getData()
Copyright © 2017. All rights reserved.