Modifier and Type | Field and Description |
---|---|
static int |
CODE_BAD_REQUEST
400响应码
|
static int |
CODE_FORBIDDEN
403响应码
|
static int |
CODE_INTERNAL_SERVER_ERROR
500响应码
|
static int |
CODE_NOT_FOUND
404响应码
|
static int |
CODE_OK
200响应码
|
static int |
CODE_UNAUTHORIZED
401响应码
|
static String |
MSG_BAD_REQUEST
400响应码对应的默认信息
|
static String |
MSG_FORBIDDEN
403响应码对应的默认信息
|
static String |
MSG_INTERNAL_SERVER_ERROR
500响应码对应的默认信息
|
static String |
MSG_NOT_FOUND
404响应码对应的默认信息
|
static String |
MSG_OK
200响应码对应的默认信息
|
static String |
MSG_UNAUTHORIZED
401响应码对应的默认信息
|
Constructor and Description |
---|
Const() |
public static final String MSG_OK
public static final int CODE_OK
public static final String MSG_BAD_REQUEST
public static final int CODE_BAD_REQUEST
public static final String MSG_UNAUTHORIZED
public static final int CODE_UNAUTHORIZED
public static final String MSG_FORBIDDEN
public static final int CODE_FORBIDDEN
public static final String MSG_NOT_FOUND
public static final int CODE_NOT_FOUND
public static final String MSG_INTERNAL_SERVER_ERROR
public static final int CODE_INTERNAL_SERVER_ERROR
Copyright © 2021. All rights reserved.