Uses of Interface
de.quantummaid.httpmaid.exceptions.ExceptionMapper
-
Packages that use ExceptionMapper Package Description de.quantummaid.httpmaid de.quantummaid.httpmaid.exceptions -
-
Uses of ExceptionMapper in de.quantummaid.httpmaid
Methods in de.quantummaid.httpmaid with parameters of type ExceptionMapper Modifier and Type Method Description voidCoreModule. addExceptionMapper(Predicate<Throwable> filter, ExceptionMapper<Throwable> responseMapper)voidCoreModule. setDefaultExceptionMapper(ExceptionMapper<Throwable> responseMapper)voidCoreModule. setPageNotFoundExceptionMapper(ExceptionMapper<PageNotFoundException> pageNotFoundExceptionMapper) -
Uses of ExceptionMapper in de.quantummaid.httpmaid.exceptions
Subinterfaces of ExceptionMapper in de.quantummaid.httpmaid.exceptions Modifier and Type Interface Description interfaceHttpExceptionMapper<T extends Throwable>Classes in de.quantummaid.httpmaid.exceptions that implement ExceptionMapper Modifier and Type Class Description classDefaultExceptionMapperAExceptionMapperthat will map an exception to an with an empty body and the status code 500 (Internal Server Error).classHandlerExceptionMapper<T extends Throwable>Methods in de.quantummaid.httpmaid.exceptions that return ExceptionMapper Modifier and Type Method Description static ExceptionMapper<Throwable>DefaultExceptionMapper. theDefaultExceptionMapper()Method parameters in de.quantummaid.httpmaid.exceptions with type arguments of type ExceptionMapper Modifier and Type Method Description static ExceptionSerializerExceptionSerializer. exceptionSerializer(FilterMap<Throwable,ExceptionMapper<Throwable>> exceptionMappers)
-