Uses of Class
spark.ExceptionMapper
-
Packages that use ExceptionMapper Package Description spark spark.embeddedserver spark.embeddedserver.jetty spark.http.matching -
-
Uses of ExceptionMapper in spark
Fields in spark declared as ExceptionMapper Modifier and Type Field Description private ExceptionMapper
Service. exceptionMapper
private static ExceptionMapper
ExceptionMapper. servletInstance
Holds an exception mapper instance for use in servlet modeMethods in spark that return ExceptionMapper Modifier and Type Method Description static 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 ExceptionMapper Modifier and Type Method Description EmbeddedServer
EmbeddedServerFactory. create(Routes routeMatcher, StaticFilesConfiguration staticFilesConfiguration, ExceptionMapper exceptionMapper, boolean hasMultipleHandler)
Creates an embedded server instance.static EmbeddedServer
EmbeddedServers. create(java.lang.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 ExceptionMapper Modifier and Type Method Description EmbeddedServer
EmbeddedJettyFactory. create(Routes routeMatcher, StaticFilesConfiguration staticFilesConfiguration, ExceptionMapper exceptionMapper, boolean hasMultipleHandler)
-
Uses of ExceptionMapper in spark.http.matching
Fields in spark.http.matching declared as ExceptionMapper Modifier and Type Field Description private ExceptionMapper
MatcherFilter. exceptionMapper
Methods in spark.http.matching with parameters of type ExceptionMapper Modifier and Type Method Description (package private) static void
GeneralError. modify(javax.servlet.http.HttpServletRequest httpRequest, javax.servlet.http.HttpServletResponse httpResponse, Body body, RequestWrapper requestWrapper, ResponseWrapper responseWrapper, ExceptionMapper exceptionMapper, java.lang.Exception e)
Modifies the HTTP response and body based on the provided exception.Constructors in spark.http.matching with parameters of type ExceptionMapper Constructor Description MatcherFilter(Routes routeMatcher, StaticFilesConfiguration staticFiles, ExceptionMapper exceptionMapper, boolean externalContainer, boolean hasOtherHandlers)
Constructor
-