Package io.quarkiverse.httpproblem
Interface ProblemRuntimeFixedConfig
@ConfigMapping(prefix="quarkus.http-problem")
@ConfigRoot(phase=BUILD_AND_RUN_TIME_FIXED)
public interface ProblemRuntimeFixedConfig
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface -
Method Summary
Modifier and TypeMethodDescriptionConstraint violation configuration.booleanWhen enabled, JSON parsing/binding exception mappers include the raw exception message in the problem detail field.MDC properties that should be included in problem responses.
-
Method Details
-
includeMdcProperties
MDC properties that should be included in problem responses. -
includeDetails
@WithDefault("false") boolean includeDetails()When enabled, JSON parsing/binding exception mappers include the raw exception message in the problem detail field. When disabled (the default), a generic message is used to avoid leaking internal class names and implementation details. -
constraintViolation
@WithName("constraint-violation") ProblemRuntimeFixedConfig.ConstraintViolationConfig constraintViolation()Constraint violation configuration.
-