Uses of Class
spark.ExceptionMapper
Packages that use ExceptionMapper
-
Uses of ExceptionMapper in spark
Fields in spark declared as ExceptionMapperModifier and TypeFieldDescriptionprivate final ExceptionMapper
Service.exceptionMapper
private static ExceptionMapper
ExceptionMapper.servletInstance
Holds an exception mapper instance for use in servlet modeMethods in spark that return ExceptionMapperModifier and TypeMethodDescriptionstatic ExceptionMapper
ExceptionMapper.getInstance()
Deprecated.static ExceptionMapper
ExceptionMapper.getServletInstance()
Returns exception mapper instance used in servlet mode -
Uses of ExceptionMapper in spark.embeddedserver
Methods in spark.embeddedserver with parameters of type ExceptionMapperModifier and TypeMethodDescriptionEmbeddedServerFactory.create
(Routes routeMatcher, StaticFilesConfiguration staticFilesConfiguration, ExceptionMapper exceptionMapper, boolean hasMultipleHandler) Creates an embedded server instance.static EmbeddedServer
EmbeddedServers.create
(Object identifier, Routes routeMatcher, ExceptionMapper exceptionMapper, StaticFilesConfiguration staticFilesConfiguration, boolean multipleHandlers) Creates an embedded server of type corresponding to the provided identifier. -
Uses of ExceptionMapper in spark.embeddedserver.jetty
Methods in spark.embeddedserver.jetty with parameters of type ExceptionMapperModifier and TypeMethodDescriptionEmbeddedJettyFactory.create
(Routes routeMatcher, StaticFilesConfiguration staticFilesConfiguration, ExceptionMapper exceptionMapper, boolean hasMultipleHandler) -
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 void
GeneralError.modify
(javax.servlet.http.HttpServletRequest httpRequest, javax.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