Request

korolev.web.Request
See theRequest companion object
final case class Request[Body](method: Method, pq: PathAndQuery, headers: Seq[(String, String)], contentLength: Option[Long], body: Body, renderedCookie: String) extends Head

Attributes

body

Should be handled before response be given

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Head
class Object
trait Matchable
class Any

Members list

Concise view

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]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product