Index

A B C D E F G H I L M N O P T U 
All Classes and Interfaces|All Packages|Serialized Form

A

Accepted - Annotation Interface in pro.nikolaev.restutils.annotations.swagger.success
A convenience annotation that is itself annotated with @ApiResponse.
ApiError - Record Class in pro.nikolaev.restutils.dto
DTO type that is used to populate @ResponseBody of @ExceptionHandler methods in ExceptionHandlingAdvice.
ApiError(String, String) - Constructor for record class pro.nikolaev.restutils.dto.ApiError
Creates an instance of a ApiError record class.
ApiException - Exception Class in pro.nikolaev.restutils.exceptions
Exception intended to use to expose an HTTP status and reason to @ExceptionHandler.
ApiException(HttpStatusCode, String) - Constructor for exception class pro.nikolaev.restutils.exceptions.ApiException
Constructor with a response status and a reason.
ApiException(HttpStatusCode, String, String) - Constructor for exception class pro.nikolaev.restutils.exceptions.ApiException
Constructor with a response status, reason and message as explanation.
ApiException(HttpStatusCode, String, String, Throwable) - Constructor for exception class pro.nikolaev.restutils.exceptions.ApiException
Constructor with a response status, reason and message as explanation, as well as a nested exception.
ApiException(HttpStatusCode, String, String, Throwable, boolean, boolean) - Constructor for exception class pro.nikolaev.restutils.exceptions.ApiException
Constructor with a response status, reason and message as explanation, as well as a nested exception, suppression enabled or disabled, and writable stack trace enabled or disabled.
ApiException(HttpStatusCode, String, Throwable) - Constructor for exception class pro.nikolaev.restutils.exceptions.ApiException
Constructor with a response status and reason as well as a nested exception.

B

BadRequest - Annotation Interface in pro.nikolaev.restutils.annotations.swagger.clienterrors
A convenience annotation that is itself annotated with @ApiResponse.

C

Conflict - Annotation Interface in pro.nikolaev.restutils.annotations.swagger.clienterrors
A convenience annotation that is itself annotated with @ApiResponse.
Created - Annotation Interface in pro.nikolaev.restutils.annotations.swagger.success
A convenience annotation that is itself annotated with @ApiResponse.

D

details() - Method in record class pro.nikolaev.restutils.dto.ApiError
Returns the value of the details record component.

E

EnableRestExceptionHandler - Annotation Interface in pro.nikolaev.restutils.annotations
A convenience annotation that creates a bean annotated with @RestControllerAdvice.
equals(Object) - Method in record class pro.nikolaev.restutils.dto.ApiError
Indicates whether some other object is "equal to" this one.
ExceptionHandlingAdvice - Class in pro.nikolaev.restutils.components
Class representing RestControllerAdvice bean for handling MVC exception.
ExceptionHandlingAdvice(MultipartConfigElement) - Constructor for class pro.nikolaev.restutils.components.ExceptionHandlingAdvice
 

F

Forbidden - Annotation Interface in pro.nikolaev.restutils.annotations.swagger.clienterrors
A convenience annotation that is itself annotated with @ApiResponse.

G

getReason() - Method in exception class pro.nikolaev.restutils.exceptions.ApiException
The reason explaining the exception (potentially null or empty).
getStatus() - Method in exception class pro.nikolaev.restutils.exceptions.ApiException
Return the HTTP status code to use for the response.
Gone - Annotation Interface in pro.nikolaev.restutils.annotations.swagger.clienterrors
A convenience annotation that is itself annotated with @ApiResponse.

H

handel401(AuthenticationException) - Method in class pro.nikolaev.restutils.components.ExceptionHandlingAdvice
ExceptionHandler to handle any AuthenticationException except of BadCredentialsException, UsernameNotFoundException, AccountExpiredException, DisabledException and LockedException.
handle400(HttpMessageNotReadableException) - Method in class pro.nikolaev.restutils.components.ExceptionHandlingAdvice
ExceptionHandler to handle HttpMessageNotReadableException.
handle400(MethodArgumentNotValidException) - Method in class pro.nikolaev.restutils.components.ExceptionHandlingAdvice
ExceptionHandler to handle MethodArgumentNotValidException.
handle400(MethodArgumentTypeMismatchException) - Method in class pro.nikolaev.restutils.components.ExceptionHandlingAdvice
ExceptionHandler to handle MethodArgumentTypeMismatchException.
handle403(AccessDeniedException) - Method in class pro.nikolaev.restutils.components.ExceptionHandlingAdvice
ExceptionHandler to handle AccessDeniedException.
handle404(NoResourceFoundException) - Method in class pro.nikolaev.restutils.components.ExceptionHandlingAdvice
ExceptionHandler to handle NoResourceFoundException.
handle405(HttpRequestMethodNotSupportedException) - Method in class pro.nikolaev.restutils.components.ExceptionHandlingAdvice
ExceptionHandler to handle HttpRequestMethodNotSupportedException.
handle406(HttpMediaTypeNotAcceptableException) - Method in class pro.nikolaev.restutils.components.ExceptionHandlingAdvice
ExceptionHandler to handle HttpMediaTypeNotAcceptableException.
handle413(MaxUploadSizeExceededException) - Method in class pro.nikolaev.restutils.components.ExceptionHandlingAdvice
ExceptionHandler to handle MaxUploadSizeExceededException.
handle415(HttpMediaTypeNotSupportedException) - Method in class pro.nikolaev.restutils.components.ExceptionHandlingAdvice
ExceptionHandler to handle HttpMediaTypeNotSupportedException.
handle423(AuthenticationException) - Method in class pro.nikolaev.restutils.components.ExceptionHandlingAdvice
ExceptionHandler to handle AccountExpiredException, DisabledException and LockedException exceptions.
handleApiException(ApiException) - Method in class pro.nikolaev.restutils.components.ExceptionHandlingAdvice
ExceptionHandler to handle ApiException.
handleBadCredentials(AuthenticationException) - Method in class pro.nikolaev.restutils.components.ExceptionHandlingAdvice
ExceptionHandler to handle BadCredentialsException, and UsernameNotFoundException exceptions.
handleStatusException(ResponseStatusException) - Method in class pro.nikolaev.restutils.components.ExceptionHandlingAdvice
ExceptionHandler to handle ResponseStatusException.
handleUnexpectedException(Exception) - Method in class pro.nikolaev.restutils.components.ExceptionHandlingAdvice
ExceptionHandler to handle any exception not specified in other handlers of ExceptionHandlingAdvice thrown while executing a RestController method.
hashCode() - Method in record class pro.nikolaev.restutils.dto.ApiError
Returns a hash code value for this object.

I

InternalServerError - Annotation Interface in pro.nikolaev.restutils.annotations.swagger.servererrors
A convenience annotation that is itself annotated with @ApiResponse.

L

Locked - Annotation Interface in pro.nikolaev.restutils.annotations.swagger.clienterrors
A convenience annotation that is itself annotated with @ApiResponse.

M

message() - Method in record class pro.nikolaev.restutils.dto.ApiError
Returns the value of the message record component.

N

NoContent - Annotation Interface in pro.nikolaev.restutils.annotations.swagger.success
A convenience annotation that is itself annotated with @ApiResponse.
NotFound - Annotation Interface in pro.nikolaev.restutils.annotations.swagger.clienterrors
A convenience annotation that is itself annotated with @ApiResponse.
NotImplemented - Annotation Interface in pro.nikolaev.restutils.annotations.swagger.servererrors
A convenience annotation that is itself annotated with @ApiResponse.

O

Ok - Annotation Interface in pro.nikolaev.restutils.annotations.swagger.success
A convenience annotation that is itself annotated with @ApiResponse.
OkWithResource - Annotation Interface in pro.nikolaev.restutils.annotations.swagger.success
A convenience annotation that is itself annotated with @ApiResponse.

P

PayloadTooLarge - Annotation Interface in pro.nikolaev.restutils.annotations.swagger.clienterrors
A convenience annotation that is itself annotated with @ApiResponse.
pro.nikolaev.restutils.annotations - package pro.nikolaev.restutils.annotations
 
pro.nikolaev.restutils.annotations.swagger.clienterrors - package pro.nikolaev.restutils.annotations.swagger.clienterrors
 
pro.nikolaev.restutils.annotations.swagger.servererrors - package pro.nikolaev.restutils.annotations.swagger.servererrors
 
pro.nikolaev.restutils.annotations.swagger.success - package pro.nikolaev.restutils.annotations.swagger.success
 
pro.nikolaev.restutils.components - package pro.nikolaev.restutils.components
 
pro.nikolaev.restutils.dto - package pro.nikolaev.restutils.dto
 
pro.nikolaev.restutils.exceptions - package pro.nikolaev.restutils.exceptions
 

T

TooManyRequests - Annotation Interface in pro.nikolaev.restutils.annotations.swagger.clienterrors
A convenience annotation that is itself annotated with @ApiResponse.
toString() - Method in record class pro.nikolaev.restutils.dto.ApiError
Returns a string representation of this record class.

U

Unauthorized - Annotation Interface in pro.nikolaev.restutils.annotations.swagger.clienterrors
A convenience annotation that is itself annotated with @ApiResponse.
UnprocessableContent - Annotation Interface in pro.nikolaev.restutils.annotations.swagger.clienterrors
A convenience annotation that is itself annotated with @ApiResponse.
A B C D E F G H I L M N O P T U 
All Classes and Interfaces|All Packages|Serialized Form