Uses of Class
spark.HaltException
Packages that use HaltException
-
Uses of HaltException in spark
Methods in spark that return HaltExceptionModifier and TypeMethodDescriptionService.halt()Immediately stops a request within a filter or route NOTE: When using this don't catch exceptions of type HaltException, or if catched, re-throw otherwise halt will not workService.halt(int status) Immediately stops a request within a filter or route with specified status code NOTE: When using this don't catch exceptions of type HaltException, or if catched, re-throw otherwise halt will not workImmediately stops a request within a filter or route with specified status code and body content NOTE: When using this don't catch exceptions of type HaltException, or if catched, re-throw otherwise halt will not workImmediately stops a request within a filter or route with specified body content NOTE: When using this don't catch exceptions of type HaltException, or if catched, re-throw otherwise halt will not workstatic HaltExceptionSpark.halt()Immediately stops a request within a filter or route NOTE: When using this don't catch exceptions of type HaltException, or if catched, re-throw otherwise halt will not workstatic HaltExceptionSpark.halt(int status) Immediately stops a request within a filter or route with specified status code NOTE: When using this don't catch exceptions of type HaltException, or if catched, re-throw otherwise halt will not workstatic HaltExceptionImmediately stops a request within a filter or route with specified status code and body content NOTE: When using this don't catch exceptions of type HaltException, or if catched, re-throw otherwise halt will not workstatic HaltExceptionImmediately stops a request within a filter or route with specified body content NOTE: When using this don't catch exceptions of type HaltException, or if catched, re-throw otherwise halt will not work -
Uses of HaltException in spark.http.matching
Methods in spark.http.matching with parameters of type HaltExceptionModifier and TypeMethodDescriptionstatic voidHalt.modify(javax.servlet.http.HttpServletResponse httpResponse, Body body, HaltException halt) Modifies the HTTP response and body based on the provided HaltException.