case classHaltRes(code: Int, body: Option[HTTPBody] = scala.None) extends Res[Nothing] with Product with Serializable
Signals the webmachine flow the desire to halt with a given
response code and possibly a response body. Returning a HaltRes
will always stop flow runner after the current decision has been completed
code
- response code to be returned
body
- optional response body to be set
Linear Supertypes
Serializable, Serializable, Product, Equals, Res[Nothing], AnyRef, Any
Signals the webmachine flow the desire to halt with a given response code and possibly a response body. Returning a
HaltRes
will always stop flow runner after the current decision has been completed- response code to be returned
- optional response body to be set