Constructor and Description |
---|
AbstractRoute() |
Modifier and Type | Method and Description |
---|---|
protected static void |
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 work
|
protected static void |
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 work
|
protected static void |
halt(int status,
String body)
Immediately 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 work
|
protected static void |
halt(String body)
Immediately 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
|
protected static final void halt()
protected static final void halt(int status)
status
- the status codeprotected static final void halt(String body)
body
- The body contentprotected static final void halt(int status, String body)
status
- The status codebody
- The body contentCopyright © 2013. All Rights Reserved.