Response

ba.sake.sharaf.Response
See theResponse companion object
final class Response[T]

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def removingHeader(name: HttpString): Response[T]
def removingHeader(name: String): Response[T]
def settingHeader(name: HttpString, values: Seq[String]): Response[T]
def settingHeader(name: String, values: Seq[String]): Response[T]
def settingHeader(name: HttpString, value: String): Response[T]
def settingHeader(name: String, value: String): Response[T]
def withBody[T2 : ResponseWritable](body: T2): Response[T2]
def withStatus(status: Int): Response[T]

Concrete fields

val body: Option[T]
val status: Int

Givens

Givens

given rw: ResponseWritable[T]