public interface ResponseData
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getCode() |
Object |
getData() |
String |
getMessage() |
static ResponseSingleData |
makeErrorMessage(int errorCode,
String message) |
static ResponseSingleData |
makeErrorMessage(String message) |
static ResponseSingleData |
makeErrorMessageWithData(Object obj,
int errorCode,
String message) |
static ResponseMapData |
makeResponseData(Map<String,Object> resMapData) |
static ResponseSingleData |
makeResponseData(Object objValue) |
static ResponseData |
makeResponseData(String message,
Object objValue) |
static ResponseSingleData |
makeSuccessResponse() |
static ResponseSingleData |
makeSuccessResponse(String message) |
default String |
toJSONString() |
String |
toJSONString(com.alibaba.fastjson.serializer.PropertyPreFilter simplePropertyPreFilter) |
static final int RESULT_OK
static final int ERROR_USER_LOGIN_ERROR
static final int HTTP_CONTINUE
static final int HTTP_SWITCHING_PROTOCOLS
static final int HTTP_PROCESSING
static final int HTTP_OK
static final int HTTP_CREATED
static final int HTTP_ACCEPTED
static final int HTTP_NON_AUTHORITATIVE_INFORMATION
static final int HTTP_NO_CONTENT
static final int HTTP_RESET_CONTENT
static final int HTTP_PARTIAL_CONTENT
static final int HTTP_MULTIPLE_CHOICES
static final int HTTP_MOVED_PERMANENTLY
static final int HTTP_MOVE_TEMPORARILY
static final int ERROR_USER_NOT_LOGIN
static final int HTTP_SEE_OTHER
static final int HTTP_NOT_MODIFIED
static final int HTTP_USE_PROXY
static final int HTTP_SWITCH_PROXY
static final int HTTP_TEMPORARY_REDIRECT
static final int HTTP_BAD_REQUEST
static final int ERROR_BAD_REQUEST
static final int HTTP_UNAUTHORIZED
static final int ERROR_UNAUTHORIZED
static final int HTTP_FORBIDDEN
static final int ERROR_FORBIDDEN
static final int HTTP_NOT_FOUND
static final int ERROR_NOT_FOUND
static final int HTTP_METHOD_NOT_ALLOWED
static final int HTTP_NOT_ACCEPTABLE
static final int ERROR_NOT_ACCEPTABLE
static final int HTTP_PROXY_AUTHENTICATION_REQUIRED
static final int HTTP_REQUEST_TIMEOUT
static final int HTTP_CONFLICT
static final int HTTP_GONE
static final int HTTP_LENGTH_REQUIRED
static final int HTTP_PRECONDITION_FAILED
static final int HTTP_REQUEST_ENTITY_TOO_LARGE
static final int HTTP_REQUEST_URI_TOO_LONG
static final int HTTP_UNSUPPORTED_MEDIA_TYPE
static final int HTTP_REQUESTED_RANGE_NOT_SATISFIABLE
static final int HTTP_EXPECTATION_FAILED
static final int HTTP_UNPROCESSABLE_ENTITY
static final int HTTP_LOCKED
static final int HTTP_FAILED_DEPENDENCY
static final int HTTP_UNORDERED_COLLECTION
static final int HTTP_UPGRADE_REQUIRED
static final int HTTP_RETRY_WITH
static final int HTTP_INTERNAL_SERVER_ERROR
static final int ERROR_INTERNAL_SERVER_ERROR
static final int HTTP_NOT_IMPLEMENTED
static final int HTTP_BAD_GATEWAY
static final int HTTP_SERVICE_UNAVAILABLE
static final int HTTP_GATEWAY_TIMEOUT
static final int HTTP_HTTP_VERSION_NOT_SUPPORTED
static final int HTTP_VARIANT_ALSO_NEGOTIATES
static final int HTTP_INSUFFICIENT_STORAGE
static final int HTTP_BANDWIDTH_LIMIT_EXCEEDED
static final int HTTP_NOT_EXTENDED
static final int HTTP_UNPARSEABLE_RESPONSE_HEADERS
static final int ERROR_PROCESS_ERROR
static final int ERROR_FIELD_INPUT_NOT_VALID
static final int ERROR_FIELD_INPUT_CONFLICT
static final int ERROR_PRECONDITION_FAILED
static final int ERROR_PROCESS_FAILED
static final int ERROR_POSTCONDITION_FAILED
static final int ERROR_BAD_PROCESS_POWER
static final int ERROR_BAD_PROCESS_DATASCOPE
static final int ERROR_METHOD_DISABLED
static final int ERROR_SESSION_TIMEOUT
static final int ERROR_USER_NOTFOUND
static final int ERROR_USER_CONFIG
static final int ERROR_SYSTEM_CONFIG
static final int ERROR_OPERATION
static final ResponseData successResponse
static final ResponseData errorResponse
int getCode()
String getMessage()
Object getData()
String toJSONString(com.alibaba.fastjson.serializer.PropertyPreFilter simplePropertyPreFilter)
default String toJSONString()
static ResponseSingleData makeSuccessResponse()
static ResponseSingleData makeSuccessResponse(String message)
static ResponseSingleData makeErrorMessage(String message)
static ResponseSingleData makeErrorMessage(int errorCode, String message)
static ResponseSingleData makeErrorMessageWithData(Object obj, int errorCode, String message)
static ResponseSingleData makeResponseData(Object objValue)
static ResponseData makeResponseData(String message, Object objValue)
static ResponseMapData makeResponseData(Map<String,Object> resMapData)
Copyright © 2021 江苏南大先腾信息产业股份有限公司. All rights reserved.