public class Halt extends Object
Constructor and Description |
---|
Halt() |
Modifier and Type | Method and Description |
---|---|
static void |
modify(javax.servlet.http.HttpServletResponse httpResponse,
spark.http.matching.Body body,
HaltException halt)
Modifies the HTTP response and body based on the provided HaltException.
|
public static void modify(javax.servlet.http.HttpServletResponse httpResponse, spark.http.matching.Body body, HaltException halt)
httpResponse
- The HTTP servlet responsebody
- The body contenthalt
- The halt exception objectCopyright © 2017. All rights reserved.