Uses of Class
spark.ExceptionMapper
Packages that use ExceptionMapper
-
Uses of ExceptionMapper in spark
Fields in spark declared as ExceptionMapperModifier and TypeFieldDescriptionprivate final ExceptionMapperService.exceptionMapperprivate static ExceptionMapperExceptionMapper.servletInstanceHolds an exception mapper instance for use in servlet modeMethods in spark that return ExceptionMapperModifier and TypeMethodDescriptionstatic ExceptionMapperExceptionMapper.getInstance()Deprecated.static ExceptionMapperExceptionMapper.getServletInstance()Returns exception mapper instance used in servlet mode -
Uses of ExceptionMapper in spark.http.matching
Fields in spark.http.matching declared as ExceptionMapperMethods in spark.http.matching with parameters of type ExceptionMapperModifier and TypeMethodDescription(package private) static voidGeneralError.modify(jakarta.servlet.http.HttpServletRequest httpRequest, jakarta.servlet.http.HttpServletResponse httpResponse, Body body, RequestWrapper requestWrapper, ResponseWrapper responseWrapper, ExceptionMapper exceptionMapper, Exception e) Modifies the HTTP response and body based on the provided exception.Constructors in spark.http.matching with parameters of type ExceptionMapperModifierConstructorDescriptionMatcherFilter(Routes routeMatcher, StaticFilesConfiguration staticFiles, ExceptionMapper exceptionMapper, boolean externalContainer, boolean hasOtherHandlers) Constructor