Request

final case class Request[Body](method: Method, pq: PathAndQuery, headers: Seq[(String, String)], contentLength: Option[Long], body: Body, renderedCookie: String) extends Head
Value Params
body

Should be handled before response be given

Companion
object
trait Serializable
trait Product
trait Equals
trait Head
class Object
trait Matchable
class Any

Value members

Concrete methods

def header(header: String): Option[String]
def param(name: String): Option[String]
def withCookie(name: String, value: String): Request[Body]
def withHeader(key: String, value: String): Request[Body]
def withHeader(header: (String, String)): Request[Body]
def withHeaders(xs: (String, String)*): Request[Body]
def withParam(name: String, value: String): Request[Body]

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product