Package spark.http.matching
Class Halt
- java.lang.Object
-
- spark.http.matching.Halt
-
public class Halt extends java.lang.ObjectModifies the HTTP response and body based on the provided HaltException.
-
-
Constructor Summary
Constructors Constructor Description Halt()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmodify(javax.servlet.http.HttpServletResponse httpResponse, Body body, HaltException halt)Modifies the HTTP response and body based on the provided HaltException.
-
-
-
Method Detail
-
modify
public static void modify(javax.servlet.http.HttpServletResponse httpResponse, Body body, HaltException halt)Modifies the HTTP response and body based on the provided HaltException.- Parameters:
httpResponse- The HTTP servlet responsebody- The body contenthalt- The halt exception object
-
-