| Package | Description |
|---|---|
| me.alidg.errors | |
| me.alidg.errors.adapter | |
| me.alidg.errors.conf |
| Modifier and Type | Method and Description |
|---|---|
WebErrorHandlersBuilder |
WebErrorHandlersBuilder.withErrorsProperties(ErrorsProperties errorsProperties)
Determines the way we're gonna configure the error handling mechanism.
|
| Constructor and Description |
|---|
DefaultHttpErrorAttributesAdapter(ErrorsProperties errorsProperties)
Constructs an instance of
DefaultHttpErrorAttributesAdapter given the
configuration properties. |
| Modifier and Type | Method and Description |
|---|---|
HttpErrorAttributesAdapter |
ErrorsAutoConfiguration.httpErrorAttributesAdapter(ErrorsProperties errorsProperties)
In the absence of a bean of type
HttpErrorAttributesAdapter, registers the default
implementation of HttpErrorAttributesAdapter as a bean, to adapt our
HttpError to Spring's ErrorAttributes abstraction. |
WebErrorHandlers |
ErrorsAutoConfiguration.webErrorHandlers(org.springframework.context.MessageSource messageSource,
List<WebErrorHandler> customHandlers,
WebErrorHandler defaultWebErrorHandler,
ExceptionRefiner exceptionRefiner,
ExceptionLogger exceptionLogger,
List<WebErrorHandlerPostProcessor> webErrorHandlerPostProcessors,
FingerprintProvider fingerprintProvider,
ErrorsProperties errorsProperties,
org.springframework.context.ApplicationContext context)
Registers a bean of type
WebErrorHandlers (If not provided by the user) filled with a set of
built-in WebErrorHandlers, a set of custom WebErrorHandlers and a default fallback
WebErrorHandler. |
Copyright © 2019. All rights reserved.