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 ExceptionMapperService. exceptionMapperprivate static ExceptionMapperExceptionMapper. servletInstanceHolds an exception mapper instance for use in servlet modeMethods in spark that return ExceptionMapper Modifier and Type Method Description static ExceptionMapperExceptionMapper. getInstance()Deprecated.static ExceptionMapperExceptionMapper. 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 EmbeddedServerEmbeddedServerFactory. create(Routes routeMatcher, StaticFilesConfiguration staticFilesConfiguration, ExceptionMapper exceptionMapper, boolean hasMultipleHandler)Creates an embedded server instance.static EmbeddedServerEmbeddedServers. 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 EmbeddedServerEmbeddedJettyFactory. 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 ExceptionMapperMatcherFilter. exceptionMapperMethods in spark.http.matching with parameters of type ExceptionMapper Modifier and Type Method Description (package private) static voidGeneralError. 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
-