ServerRequest

trait ServerRequest extends RequestMetadata
trait RequestMetadata
trait HasHeaders
class Object
trait Matchable
class Any

Value members

Abstract methods

def pathSegments: List[String]

Can differ from uri.path, if the endpoint is deployed in a context

Can differ from uri.path, if the endpoint is deployed in a context

def protocol: String
def queryParameters: QueryParams
def underlying: Any

Inherited methods

def contentLength: Option[Long]
Inherited from
HasHeaders
def contentType: Option[String]
Inherited from
HasHeaders
def cookies: Seq[Either[String, CookieWithMeta]]
Inherited from
HasHeaders
def header(h: String): Option[String]
Inherited from
HasHeaders
def headers(h: String): Seq[String]
Inherited from
HasHeaders
def headers: Seq[Header]
Inherited from
HasHeaders
def method: Method
Inherited from
RequestMetadata
override
def toString: String
Definition Classes
RequestMetadata -> Any
Inherited from
RequestMetadata
def unsafeCookies: Seq[CookieWithMeta]
Inherited from
HasHeaders
def uri: Uri
Inherited from
RequestMetadata

Concrete fields

lazy
val acceptsContentTypes: Either[String, Seq[ContentTypeRange]]