Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- APPLICATION_PROBLEM_JSON - Static variable in class io.micronaut.problem.ProblemErrorResponseProcessor
C
- ConstraintViolationThrowableProblem - Exception in io.micronaut.problem.violations
-
ThrowableProblem
for constraints violations. - ConstraintViolationThrowableProblem(URI, StatusType, List<Violation>) - Constructor for exception io.micronaut.problem.violations.ConstraintViolationThrowableProblem
- ConstraintViolationThrowableProblem(StatusType, List<Violation>) - Constructor for exception io.micronaut.problem.violations.ConstraintViolationThrowableProblem
- createViolation(ConstraintViolation<?>) - Method in class io.micronaut.problem.violations.ProblemConstraintViolationExceptionHandler
D
- DEFAULT_ENABLED - Static variable in class io.micronaut.problem.conf.ProblemConfigurationProperties
-
The default enable value.
- DEFAULT_STACK_TRACKE - Static variable in class io.micronaut.problem.conf.ProblemConfigurationProperties
-
The default stackTrace value.
- defaultProblem(ErrorContext, HttpStatus) - Method in class io.micronaut.problem.ProblemErrorResponseProcessor
-
Creates a
ThrowableProblem
when the root cause was not an exception of typeThrowableProblem
.
G
- getField() - Method in class io.micronaut.problem.violations.Violation
- getMessage() - Method in class io.micronaut.problem.violations.Violation
- getReasonPhrase() - Method in class io.micronaut.problem.HttpStatusType
- getStatus() - Method in exception io.micronaut.problem.violations.ConstraintViolationThrowableProblem
- getStatusCode() - Method in class io.micronaut.problem.HttpStatusType
- getTitle() - Method in exception io.micronaut.problem.violations.ConstraintViolationThrowableProblem
- getType() - Method in exception io.micronaut.problem.violations.ConstraintViolationThrowableProblem
- getViolations() - Method in exception io.micronaut.problem.violations.ConstraintViolationThrowableProblem
H
- handle(HttpRequest, ConstraintViolationException) - Method in class io.micronaut.problem.violations.ProblemConstraintViolationExceptionHandler
- handle(HttpRequest, ThrowableProblem) - Method in class io.micronaut.problem.ThrowableProblemHandler
- HttpStatusType - Class in io.micronaut.problem
-
Implementation of
StatusType
which uses MicronautHttpStatus
and renders as JSON the HTTP status code. - HttpStatusType(HttpStatus) - Constructor for class io.micronaut.problem.HttpStatusType
I
- includeErrorMessage(ErrorContext) - Method in class io.micronaut.problem.ProblemErrorResponseProcessor
-
Whether
ThrowableProblem
, created when the root cause is not an exception of typeThrowableProblem
, should contain Error::getMessage in the problem detail. - io.micronaut.problem - package io.micronaut.problem
-
Contains classes for rendering error as Problem in a Micronaut Application.
- io.micronaut.problem.conf - package io.micronaut.problem.conf
-
Contains classes related to configuring Micronaut Problem.
- io.micronaut.problem.serde - package io.micronaut.problem.serde
- io.micronaut.problem.violations - package io.micronaut.problem.violations
-
Contains classes for rendering
ConstraintViolationException
as Problem. - isEnabled() - Method in class io.micronaut.problem.conf.ProblemConfigurationProperties
- isStackTrace() - Method in interface io.micronaut.problem.conf.ProblemConfiguration
- isStackTrace() - Method in class io.micronaut.problem.conf.ProblemConfigurationProperties
P
- PREFIX - Static variable in class io.micronaut.problem.conf.ProblemConfigurationProperties
- ProblemConfiguration - Interface in io.micronaut.problem.conf
-
Configuration for problem.
- ProblemConfigurationProperties - Class in io.micronaut.problem.conf
-
ConfigurationProperties
implementation ofProblemConfiguration
. - ProblemConfigurationProperties() - Constructor for class io.micronaut.problem.conf.ProblemConfigurationProperties
- ProblemConstraintViolationExceptionHandler - Class in io.micronaut.problem.violations
- ProblemConstraintViolationExceptionHandler(ErrorResponseProcessor<?>) - Constructor for class io.micronaut.problem.violations.ProblemConstraintViolationExceptionHandler
-
Constructor.
- ProblemErrorResponseProcessor - Class in io.micronaut.problem
-
Error Response processor to respond
Problem
responses. - ProblemErrorResponseProcessor(ProblemConfiguration) - Constructor for class io.micronaut.problem.ProblemErrorResponseProcessor
-
Constructor.
- ProblemSerdeImport - Class in io.micronaut.problem.serde
-
adds problem serdes.
- ProblemSerdeImport() - Constructor for class io.micronaut.problem.serde.ProblemSerdeImport
- processResponse(ErrorContext, MutableHttpResponse<?>) - Method in class io.micronaut.problem.ProblemErrorResponseProcessor
S
- setEnabled(boolean) - Method in class io.micronaut.problem.conf.ProblemConfigurationProperties
-
Sets whether the configuration is enabled.
- setField(String) - Method in class io.micronaut.problem.violations.Violation
- setMessage(String) - Method in class io.micronaut.problem.violations.Violation
- setStackTrace(boolean) - Method in class io.micronaut.problem.conf.ProblemConfigurationProperties
T
- ThrowableProblemHandler - Class in io.micronaut.problem
-
Handles exception of type
ThrowableProblem
. - ThrowableProblemHandler(ErrorResponseProcessor<?>) - Constructor for class io.micronaut.problem.ThrowableProblemHandler
-
Constructor.
- TYPE - Static variable in exception io.micronaut.problem.violations.ConstraintViolationThrowableProblem
- TYPE_VALUE - Static variable in exception io.micronaut.problem.violations.ConstraintViolationThrowableProblem
V
- Violation - Class in io.micronaut.problem.violations
-
Constraint Violation information.
- Violation(String, String) - Constructor for class io.micronaut.problem.violations.Violation
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form