A B C D E F G H I L M N O P R S T U V W 
All Classes All Packages

A

ACCEPTED - com.networknt.status.HttpStatus
202 Accepted.
ALREADY_REPORTED - com.networknt.status.HttpStatus
208 Already Reported.
ApiException - Exception in com.networknt.exception
This is a checked exception that can wrap Status object to give consume a uniform response.
ApiException(Status) - Constructor for exception com.networknt.exception.ApiException
 
ApiException(Status, Throwable) - Constructor for exception com.networknt.exception.ApiException
 

B

BAD_GATEWAY - com.networknt.status.HttpStatus
502 Bad Gateway.
BAD_REQUEST - com.networknt.status.HttpStatus
400 Bad Request.
BANDWIDTH_LIMIT_EXCEEDED - com.networknt.status.HttpStatus
509 Bandwidth Limit Exceeded

C

CHECKPOINT - com.networknt.status.HttpStatus
103 Checkpoint.
CLIENT_ERROR - com.networknt.status.HttpStatus.Series
 
ClientException - Exception in com.networknt.exception
This is a checked exception used by Client module.
ClientException() - Constructor for exception com.networknt.exception.ClientException
 
ClientException(Status) - Constructor for exception com.networknt.exception.ClientException
 
ClientException(String) - Constructor for exception com.networknt.exception.ClientException
 
ClientException(String, Throwable) - Constructor for exception com.networknt.exception.ClientException
 
ClientException(Throwable) - Constructor for exception com.networknt.exception.ClientException
 
com.networknt.exception - package com.networknt.exception
 
com.networknt.status - package com.networknt.status
 
CONFIG_NAME - Static variable in class com.networknt.status.Status
 
CONFLICT - com.networknt.status.HttpStatus
409 Conflict.
CONTINUE - com.networknt.status.HttpStatus
100 Continue.
CREATED - com.networknt.status.HttpStatus
201 Created.

D

defaultSeverity - Static variable in class com.networknt.status.Status
 

E

EXPECTATION_FAILED - com.networknt.status.HttpStatus
417 Expectation Failed.
ExpiredTokenException - Exception in com.networknt.exception
This is a checked exception used by JWT verification and it is thrown if the JWT token is expired.
ExpiredTokenException() - Constructor for exception com.networknt.exception.ExpiredTokenException
 
ExpiredTokenException(String) - Constructor for exception com.networknt.exception.ExpiredTokenException
 
ExpiredTokenException(String, Throwable) - Constructor for exception com.networknt.exception.ExpiredTokenException
 
ExpiredTokenException(Throwable) - Constructor for exception com.networknt.exception.ExpiredTokenException
 

F

FAILED_DEPENDENCY - com.networknt.status.HttpStatus
424 Failed Dependency.
FORBIDDEN - com.networknt.status.HttpStatus
403 Forbidden.
FOUND - com.networknt.status.HttpStatus
302 Found.
FrameworkException - Exception in com.networknt.exception
This is similar exception like ApiException but it is RuntimeException.
FrameworkException(Status) - Constructor for exception com.networknt.exception.FrameworkException
 
FrameworkException(Status, Throwable) - Constructor for exception com.networknt.exception.FrameworkException
 

G

GATEWAY_TIMEOUT - com.networknt.status.HttpStatus
504 Gateway Timeout.
getCode() - Method in class com.networknt.status.Status
 
getConfig() - Static method in class com.networknt.status.Status
This static method is very important for any customized status wrapper to get the light-4j status before customizing it.
getDescription() - Method in class com.networknt.status.Status
 
getMessage() - Method in class com.networknt.status.Status
 
getMetadata() - Method in class com.networknt.status.Status
 
getReasonPhrase() - Method in enum com.networknt.status.HttpStatus
Return the reason phrase of this status code.
getSeverity() - Method in class com.networknt.status.Status
 
getStatus() - Method in exception com.networknt.exception.ApiException
 
getStatus() - Static method in exception com.networknt.exception.ClientException
 
getStatus() - Method in exception com.networknt.exception.FrameworkException
 
getStatusCode() - Method in class com.networknt.status.Status
 
GONE - com.networknt.status.HttpStatus
410 Gone.

H

HTTP_VERSION_NOT_SUPPORTED - com.networknt.status.HttpStatus
505 HTTP Version Not Supported.
HttpStatus - Enum in com.networknt.status
 
HttpStatus.Series - Enum in com.networknt.status
 

I

I_AM_A_TEAPOT - com.networknt.status.HttpStatus
418 I'm a teapot.
IM_USED - com.networknt.status.HttpStatus
226 IM Used.
INFORMATIONAL - com.networknt.status.HttpStatus.Series
 
INSUFFICIENT_STORAGE - com.networknt.status.HttpStatus
507 Insufficient Storage
INTERNAL_SERVER_ERROR - com.networknt.status.HttpStatus
500 Internal Server Error.
is1xxInformational() - Method in enum com.networknt.status.HttpStatus
 
is2xxSuccessful() - Method in enum com.networknt.status.HttpStatus
 
is3xxRedirection() - Method in enum com.networknt.status.HttpStatus
 
is4xxClientError() - Method in enum com.networknt.status.HttpStatus
 
is5xxServerError() - Method in enum com.networknt.status.HttpStatus
 
isError() - Method in enum com.networknt.status.HttpStatus
 

L

LENGTH_REQUIRED - com.networknt.status.HttpStatus
411 Length Required.
LOCKED - com.networknt.status.HttpStatus
423 Locked.
LOOP_DETECTED - com.networknt.status.HttpStatus
508 Loop Detected

M

METHOD_NOT_ALLOWED - com.networknt.status.HttpStatus
405 Method Not Allowed.
MOVED_PERMANENTLY - com.networknt.status.HttpStatus
301 Moved Permanently.
MULTI_STATUS - com.networknt.status.HttpStatus
207 Multi-Status.
MULTIPLE_CHOICES - com.networknt.status.HttpStatus
300 Multiple Choices.

N

NETWORK_AUTHENTICATION_REQUIRED - com.networknt.status.HttpStatus
511 Network Authentication Required.
NO_CONTENT - com.networknt.status.HttpStatus
204 No Content.
NON_AUTHORITATIVE_INFORMATION - com.networknt.status.HttpStatus
203 Non-Authoritative Information.
NOT_ACCEPTABLE - com.networknt.status.HttpStatus
406 Not Acceptable.
NOT_EXTENDED - com.networknt.status.HttpStatus
510 Not Extended
NOT_FOUND - com.networknt.status.HttpStatus
404 Not Found.
NOT_IMPLEMENTED - com.networknt.status.HttpStatus
501 Not Implemented.
NOT_MODIFIED - com.networknt.status.HttpStatus
304 Not Modified.

O

OK - com.networknt.status.HttpStatus
200 OK.

P

PARTIAL_CONTENT - com.networknt.status.HttpStatus
206 Partial Content.
PAYLOAD_TOO_LARGE - com.networknt.status.HttpStatus
413 Payload Too Large.
PAYMENT_REQUIRED - com.networknt.status.HttpStatus
402 Payment Required.
PERMANENT_REDIRECT - com.networknt.status.HttpStatus
308 Permanent Redirect.
PRECONDITION_FAILED - com.networknt.status.HttpStatus
412 Precondition failed.
PRECONDITION_REQUIRED - com.networknt.status.HttpStatus
428 Precondition Required.
PROCESSING - com.networknt.status.HttpStatus
102 Processing.
PROXY_AUTHENTICATION_REQUIRED - com.networknt.status.HttpStatus
407 Proxy Authentication Required.
putMetadata(String, Object) - Method in class com.networknt.status.Status
put key value pair to the metadata

R

REDIRECTION - com.networknt.status.HttpStatus.Series
 
reload() - Static method in class com.networknt.status.Status
 
REQUEST_HEADER_FIELDS_TOO_LARGE - com.networknt.status.HttpStatus
431 Request Header Fields Too Large.
REQUEST_TIMEOUT - com.networknt.status.HttpStatus
408 Request Timeout.
REQUESTED_RANGE_NOT_SATISFIABLE - com.networknt.status.HttpStatus
416 Requested Range Not Satisfiable.
RESET_CONTENT - com.networknt.status.HttpStatus
205 Reset Content.
resolve(int) - Static method in enum com.networknt.status.HttpStatus
 
resolve(int) - Static method in enum com.networknt.status.HttpStatus.Series
 

S

SEE_OTHER - com.networknt.status.HttpStatus
303 See Other.
serializeStatus(Status) - Method in interface com.networknt.status.StatusSerializer
Serialize the status and provide a custom format in the iomplementing class
series() - Method in enum com.networknt.status.HttpStatus
 
SERVER_ERROR - com.networknt.status.HttpStatus.Series
 
SERVICE_UNAVAILABLE - com.networknt.status.HttpStatus
503 Service Unavailable.
setCode(String) - Method in class com.networknt.status.Status
 
setDescription(String) - Method in class com.networknt.status.Status
 
setMessage(String) - Method in class com.networknt.status.Status
 
setMetadata(Map<String, Object>) - Method in class com.networknt.status.Status
 
setSeverity(String) - Method in class com.networknt.status.Status
 
setStatus(Status) - Static method in exception com.networknt.exception.ClientException
 
setStatusCode(int) - Method in class com.networknt.status.Status
 
shouldShowDescription() - Static method in class com.networknt.status.Status
 
shouldShowMessage() - Static method in class com.networknt.status.Status
 
shouldShowMetadata() - Static method in class com.networknt.status.Status
 
SHOW_DESCRIPTION - Static variable in class com.networknt.status.Status
 
SHOW_MESSAGE - Static variable in class com.networknt.status.Status
 
SHOW_METADATA - Static variable in class com.networknt.status.Status
 
Status - Class in com.networknt.status
For every status response, there is only one message returned.
Status() - Constructor for class com.networknt.status.Status
Default construction that is only used in reflection.
Status(int, String, String, String) - Constructor for class com.networknt.status.Status
Construct a status object based on all the properties in the object.
Status(int, String, String, String, String) - Constructor for class com.networknt.status.Status
Construct a status object based on all the properties in the object.
Status(HttpStatus, String, String) - Constructor for class com.networknt.status.Status
Construct a status object based on all the properties in the object.
Status(String, Object...) - Constructor for class com.networknt.status.Status
Construct a status object based on error code and a list of arguments.
Status(String, Map<String, Object>, Object...) - Constructor for class com.networknt.status.Status
Construct a status object based on error code and a list of arguments.
StatusSerializer - Interface in com.networknt.status
Interface to allow custom serialization for a Status.
StatusWrapper - Interface in com.networknt.status
Interface to allow custom Status and then inject the customized status into framework through SingletonFactory
SUCCESSFUL - com.networknt.status.HttpStatus.Series
 
SWITCHING_PROTOCOLS - com.networknt.status.HttpStatus
101 Switching Protocols.

T

TEMPORARY_REDIRECT - com.networknt.status.HttpStatus
307 Temporary Redirect.
TOO_EARLY - com.networknt.status.HttpStatus
425 Too Early.
TOO_MANY_REQUESTS - com.networknt.status.HttpStatus
429 Too Many Requests.
toString() - Method in enum com.networknt.status.HttpStatus
Return a string representation of this status code.
toString() - Method in class com.networknt.status.Status
 
toStringConditionally() - Method in class com.networknt.status.Status
This method is used to construct a Status with fields conditionally.

U

UNAUTHORIZED - com.networknt.status.HttpStatus
401 Unauthorized.
UNAVAILABLE_FOR_LEGAL_REASONS - com.networknt.status.HttpStatus
451 Unavailable For Legal Reasons.
UNPROCESSABLE_ENTITY - com.networknt.status.HttpStatus
422 Unprocessable Entity.
UNSUPPORTED_MEDIA_TYPE - com.networknt.status.HttpStatus
415 Unsupported Media Type.
UPGRADE_REQUIRED - com.networknt.status.HttpStatus
426 Upgrade Required.
URI_TOO_LONG - com.networknt.status.HttpStatus
414 URI Too Long.

V

value() - Method in enum com.networknt.status.HttpStatus.Series
Return the integer value of this status series.
value() - Method in enum com.networknt.status.HttpStatus
Return the integer value of this status code.
valueOf(int) - Static method in enum com.networknt.status.HttpStatus.Series
Return the enum constant of this type with the corresponding series.
valueOf(int) - Static method in enum com.networknt.status.HttpStatus
Return the enum constant of this type with the specified numeric value.
valueOf(HttpStatus) - Static method in enum com.networknt.status.HttpStatus.Series
Return the enum constant of this type with the corresponding series.
valueOf(String) - Static method in enum com.networknt.status.HttpStatus.Series
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.networknt.status.HttpStatus
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.networknt.status.HttpStatus.Series
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.networknt.status.HttpStatus
Returns an array containing the constants of this enum type, in the order they are declared.
VARIANT_ALSO_NEGOTIATES - com.networknt.status.HttpStatus
506 Variant Also Negotiates

W

wrap(Status, Object) - Method in interface com.networknt.status.StatusWrapper
Encapsulate the default status of the framework as a custom status.
A B C D E F G H I L M N O P R S T U V W 
All Classes All Packages