Response

ba.sake.sharaf.Response
See theResponse companion class
object Response

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Response.type

Members list

Value members

Concrete methods

def apply[T : ResponseWritable]: Response[String]
def redirect(location: String): Response[String]
def withBody[T : ResponseWritable](body: T): Response[T]
def withBodyOpt[T : ResponseWritable](body: Option[T], name: String): Response[T]
def withHeader(name: HttpString, values: Seq[String]): Response[String]
def withHeader(name: HttpString, value: String): Response[String]
def withStatus(status: Int): Response[String]