cn.dreampie.common.http
类 HttpMessage
java.lang.Object
cn.dreampie.common.http.HttpMessage
public class HttpMessage
- extends Object
Created by Dreampie on 2016/11/9.
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OK
public static final String OK
- 另请参见:
- 常量字段值
CREATED
public static final String CREATED
- 另请参见:
- 常量字段值
ACCEPTED
public static final String ACCEPTED
- 另请参见:
- 常量字段值
NOT_MODIFIED
public static final String NOT_MODIFIED
- 另请参见:
- 常量字段值
BAD_REQUEST
public static final String BAD_REQUEST
- 另请参见:
- 常量字段值
UNAUTHORIZED
public static final String UNAUTHORIZED
- 另请参见:
- 常量字段值
FORBIDDEN
public static final String FORBIDDEN
- 另请参见:
- 常量字段值
NOT_FOUND
public static final String NOT_FOUND
- 另请参见:
- 常量字段值
API_NOT_FOUND
public static final String API_NOT_FOUND
- 另请参见:
- 常量字段值
NOT_ACCEPTABLE
public static final String NOT_ACCEPTABLE
- 另请参见:
- 常量字段值
METHOD_NOT_ALLOWED
public static final String METHOD_NOT_ALLOWED
- 另请参见:
- 常量字段值
UNSUPPORTED_MEDIA_TYPE
public static final String UNSUPPORTED_MEDIA_TYPE
- 另请参见:
- 常量字段值
UNPROCESSABLE_ENTITY
public static final String UNPROCESSABLE_ENTITY
- 另请参见:
- 常量字段值
GONE
public static final String GONE
- 另请参见:
- 常量字段值
INTERNAL_SERVER_ERROR
public static final String INTERNAL_SERVER_ERROR
- 另请参见:
- 常量字段值
SERVICE_UNAVAILABLE
public static final String SERVICE_UNAVAILABLE
- 另请参见:
- 常量字段值
TOO_MANY_REQUESTS
public static final String TOO_MANY_REQUESTS
- 另请参见:
- 常量字段值
REQUEST_ENTITY_TOO_LARGE
public static final String REQUEST_ENTITY_TOO_LARGE
- 另请参见:
- 常量字段值
HEADER_NOT_MATCH
public static final String HEADER_NOT_MATCH
- 另请参见:
- 常量字段值
FILE_UPLOAD_ERROR
public static final String FILE_UPLOAD_ERROR
- 另请参见:
- 常量字段值
FILE_DOWNLOAD_ERROR
public static final String FILE_DOWNLOAD_ERROR
- 另请参见:
- 常量字段值
CORS_FAILED
public static final String CORS_FAILED
- 另请参见:
- 常量字段值
USERNAME_NOT_FOUND
public static final String USERNAME_NOT_FOUND
- 另请参见:
- 常量字段值
PASSWORD_ERROR
public static final String PASSWORD_ERROR
- 另请参见:
- 常量字段值
HttpMessage
public HttpMessage()
getMessage
public static String getMessage(String key)
getStatus
public static HttpStatus getStatus(String key)
Copyright © 2017. All rights reserved.