Immutable HTTP request consisting of method, URL, headers, body, and protocol version.
Convenience accessors path and queryParams delegate to the url field.
Attributes
- Companion
- object
- Source
- Request.scala
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Attributes
- Source
- Request.scala
Attributes
- Source
- Request.scala
Attributes
- Source
- Request.scala
Attributes
- Source
- Request.scala
Returns a copy with the supplied body and a synchronized Content-Type header.
Returns a copy with the supplied body and a synchronized Content-Type header.
This overwrites any existing Content-Type header with body.contentType.render so the headers remain aligned with the body.
Attributes
- Source
- Request.scala
Returns this request's content type.
Returns this request's content type.
The typed Content-Type header is preferred when present and parseable. If the header is absent or cannot be parsed as a typed Content-Type header, this method falls back to the body's content type.
Attributes
- Source
- Request.scala
Attributes
- Source
- Request.scala
Decodes the first request header matching the supplied codec.
Attributes
- Source
- Request.scala
Attributes
- Source
- Request.scala
Returns a copy with the URL path replaced, preserving the other URL parts.
Returns a copy with the URL path replaced, preserving the other URL parts.
Attributes
- Source
- Request.scala
Attributes
- Source
- Request.scala
Attributes
- Source
- Request.scala
Attributes
- Source
- Request.scala
Attributes
- Source
- Request.scala
Attributes
- Source
- Request.scala
Attributes
- Source
- Request.scala
Attributes
- Source
- Request.scala
Attributes
- Source
- Request.scala
Inherited methods
An iterator over the names of all the elements of this product.
An iterator over the names of all the elements of this product.
Attributes
- Inherited from:
- Product
- Source
- Product.scala
An iterator over all the elements of this product.
An iterator over all the elements of this product.
Attributes
- Returns
-
in the default implementation, an
Iterator[Any] - Inherited from:
- Product
- Source
- Product.scala