Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
DESCRIPTION_VOID |
"No content" |
public static final String |
RESPONSE_REASON_ERROR |
"Error" |
public static final String |
RESPONSE_REASON_SUCCESS |
"Success" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
HTTP_METHOD_DELETE |
"delete" |
public static final String |
HTTP_METHOD_GET |
"get" |
public static final String |
HTTP_METHOD_HEAD |
"head" |
public static final String |
HTTP_METHOD_OPTIONS |
"options" |
public static final String |
HTTP_METHOD_PATCH |
"patch" |
public static final String |
HTTP_METHOD_POST |
"post" |
public static final String |
HTTP_METHOD_PUT |
"put" |
public static final String |
LOCATION_BODY |
"body" |
public static final String |
LOCATION_COOKIE |
"cookie" |
public static final String |
LOCATION_FORM_DATA |
"formData" |
public static final String |
LOCATION_HEADER |
"header" |
public static final String |
LOCATION_PATH |
"path" |
public static final String |
LOCATION_QUERY |
"query" |
public static final String |
SCHEME_HTTP |
"http" |
public static final String |
SCHEME_HTTPS |
"https" |
public static final String |
SCHEME_WS |
"ws" |
public static final String |
SCHEME_WSS |
"wss" |
public static final String |
STATUS_CODE_BAD_REQUEST |
"400" |
public static final String |
STATUS_CODE_CONFLICT |
"409" |
public static final String |
STATUS_CODE_FORBIDDEN |
"403" |
public static final String |
STATUS_CODE_INTERNAL_SERVER_ERROR |
"500" |
public static final String |
STATUS_CODE_NO_CONTENT |
"204" |
public static final String |
STATUS_CODE_SUCCESS |
"200" |
public static final String |
STATUS_CODE_UNAUTHORIZED |
"401" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
DEFAULT_JSON_EXAMPLE |
"{\"message\": \"text\",\n \"code\": \"text\",\n \"uuid\": \"text\",\n \"errors\": {\n \"bean.property.path\": [\n \"Error message 1\",\n \"Error message 2\"\n ], \n ...\n }\n}" |
public static final String |
DEFAULT_XML_EXAMPLE |
"<error code=\'text\' uuid=\'text\'>\n <message>text</message>\n <violations>\n <violation path=\'bean.property.path\'>\n <message>Error message 1</message>\n <message>Error message 2</message>\n </violation>\n ...\n </violations>\n</error>" |
Modifier and Type | Constant Field | Value |
---|---|---|
public static final String |
JAVADOC_JAVAEE_URL |
"https://docs.oracle.com/javaee/7/api/" |
public static final String |
JAVADOC_JAVASE_URL |
"http://docs.oracle.com/javase/8/docs/api/" |
Copyright © 2015–2021 MojoHaus. All rights reserved.