Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait QueryChecks[Request]trait QueryGetters[Request]trait QueryModifier[Request]trait HeaderChecks[Request]trait HeaderGetterstrait HeaderModifier[Request]class Objecttrait Matchableclass AnyShow all
- Self type
Members list
Value members
Concrete methods
A right-biased way of combining two requests. Most information will be merged, but in cases where this does not make sense (e.g. two non-empty bodies), the information from the right request will be used.
A right-biased way of combining two requests. Most information will be merged, but in cases where this does not make sense (e.g. two non-empty bodies), the information from the right request will be used.
Attributes
Add trailing slash to the path.
Add trailing slash to the path.
Attributes
Collects the potentially streaming body of the response into a single chunk.
Collects the potentially streaming body of the response into a single chunk.
Any errors that occur from the collection of the body will be caught and propagated to the Body
Attributes
Returns the cookie with the given name if it exists.
Returns the cookie with the given name if it exists.
Attributes
Uses the cookie with the given name if it exists and runs f with the cookie afterwards.
Uses the cookie with the given name if it exists and runs f with the cookie afterwards.
Also, you can set a custom failure value from a missing cookie with E.
Attributes
Uses the cookie with the given name if it exists and runs f with the cookie afterwards.
Uses the cookie with the given name if it exists and runs f with the cookie afterwards.
Attributes
Returns all cookies from the request.
Returns all cookies from the request.
Attributes
Drops trailing slash from the path.
Drops trailing slash from the path.
Attributes
Returns an A if it exists from the cookie-based flash-scope.
Returns an A if it exists from the cookie-based flash-scope.
Attributes
Consumes the streaming body fully and then discards it while also ignoring any failures
Consumes the streaming body fully and then discards it while also ignoring any failures
Attributes
Attributes
- Definition Classes
Unnests the request by the specified prefix. If the request URL is not nested at the specified path, then this has no effect on the URL.
Unnests the request by the specified prefix. If the request URL is not nested at the specified path, then this has no effect on the URL.
Attributes
Returns a request with a body derived from the current body.
Returns a request with a body derived from the current body.
Attributes
Returns a request with a body derived from the current body in an effectful way.
Returns a request with a body derived from the current body in an effectful way.
Attributes
Updates the headers using the provided function
Attributes
- Definition Classes
Inherited methods
Combines two collections of query parameters together. If there are duplicate keys, the values from both sides are preserved, in order from left-to-right.
Combines two collections of query parameters together. If there are duplicate keys, the values from both sides are preserved, in order from left-to-right.
Attributes
- Inherited from:
- QueryModifier
Adds headers based on the given value. The type of the value must have a schema and be a case class and all fields will be added as headers. So fields must be of primitive types (e.g. Int, String, UUID, Instant etc.), a case class with a single field or a collection of either of these. The header names are the field names.
Adds headers based on the given value. The type of the value must have a schema and be a case class and all fields will be added as headers. So fields must be of primitive types (e.g. Int, String, UUID, Instant etc.), a case class with a single field or a collection of either of these. The header names are the field names.
Attributes
- Inherited from:
- HeaderModifier
Adds a header / headers with the specified name and based on the given value. The value type must have a schema and can be a primitive type (e.g. Int, String, UUID, Instant etc.), a case class with a single field or a collection of either of these.
Adds a header / headers with the specified name and based on the given value. The value type must have a schema and can be a primitive type (e.g. Int, String, UUID, Instant etc.), a case class with a single field or a collection of either of these.
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- QueryModifier
Attributes
- Inherited from:
- QueryModifier
Attributes
- Inherited from:
- QueryModifier
Adds the specified key/value pair to the query parameters.
Attributes
- Inherited from:
- QueryModifier
Attributes
- Inherited from:
- QueryModifier
Adds the specified key/value pairs to the query parameters.
Adds the specified key/value pairs to the query parameters.
Attributes
- Inherited from:
- QueryModifier
Attributes
- Inherited from:
- HeaderChecks
Attributes
- Inherited from:
- HeaderChecks
Attributes
- Inherited from:
- HeaderChecks
Attributes
- Inherited from:
- HeaderChecks
Attributes
- Inherited from:
- HeaderChecks
Attributes
- Inherited from:
- HeaderChecks
Attributes
- Inherited from:
- HeaderChecks
Attributes
- Inherited from:
- HeaderChecks
Attributes
- Inherited from:
- QueryChecks
Attributes
- Inherited from:
- HeaderChecks
Attributes
- Inherited from:
- HeaderChecks
Attributes
- Inherited from:
- HeaderChecks
Retrieves headers as a value of the specified type. The type must have a schema and be a case class and all fields must be headers. So fields must be of primitive types (e.g. Int, String, UUID, Instant etc.), a case class with a single field or a collection of either of these. Headers are selected by field names.
Retrieves headers as a value of the specified type. The type must have a schema and be a case class and all fields must be headers. So fields must be of primitive types (e.g. Int, String, UUID, Instant etc.), a case class with a single field or a collection of either of these. Headers are selected by field names.
Attributes
- Inherited from:
- HeaderGetters
Retrieves the header with the specified name as a value of the specified type. The type must have a schema and can be a primitive type (e.g. Int, String, UUID, Instant etc.), a case class with a single field or a collection of either of these.
Retrieves the header with the specified name as a value of the specified type. The type must have a schema and can be a primitive type (e.g. Int, String, UUID, Instant etc.), a case class with a single field or a collection of either of these.
Attributes
- Inherited from:
- HeaderGetters
Gets a header or returns None if the header was not present or it could not be parsed
Gets a header or returns None if the header was not present or it could not be parsed
Attributes
- Inherited from:
- HeaderGetters
Retrieves headers as a value of the specified type T, or returns a default value if the headers are not present or could not be parsed. The type T must have a schema and be a case class and all fields must be headers. So fields must be of primitive types (e.g. Int, String, UUID, Instant etc.), a case class with a single field or a collection of either of these. Headers are selected by field names.
Retrieves headers as a value of the specified type T, or returns a default value if the headers are not present or could not be parsed. The type T must have a schema and be a case class and all fields must be headers. So fields must be of primitive types (e.g. Int, String, UUID, Instant etc.), a case class with a single field or a collection of either of these. Headers are selected by field names.
Attributes
- Inherited from:
- HeaderGetters
Retrieves the header with the specified name as a value of the specified type T, or returns a default value if the header is not present or could not be parsed. The type T must have a schema and can be a primitive type (e.g. Int, String, UUID, Instant etc.), a case class with a single field or a collection of either of these.
Retrieves the header with the specified name as a value of the specified type T, or returns a default value if the header is not present or could not be parsed. The type T must have a schema and can be a primitive type (e.g. Int, String, UUID, Instant etc.), a case class with a single field or a collection of either of these.
Attributes
- Inherited from:
- HeaderGetters
Gets a header. If the header is not present, returns None. If the header could not be parsed it returns the parsing error
Gets a header. If the header is not present, returns None. If the header could not be parsed it returns the parsing error
Attributes
- Inherited from:
- HeaderGetters
Attributes
- Inherited from:
- HeaderGetters
Attributes
- Inherited from:
- HeaderGetters
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Retrieves query parameters as a value of the specified type. The type must have a schema and be a case class and all fields must be query parameters. So fields must be of primitive types (e.g. Int, String, UUID, Instant etc.), a case class with a single field or a collection of either of these. Query parameters are selected by field names.
Retrieves query parameters as a value of the specified type. The type must have a schema and be a case class and all fields must be query parameters. So fields must be of primitive types (e.g. Int, String, UUID, Instant etc.), a case class with a single field or a collection of either of these. Query parameters are selected by field names.
Attributes
- Inherited from:
- QueryGetters
Retrieves the query parameter with the specified name as a value of the specified type. The type must have a schema and can be a primitive type (e.g. Int, String, UUID, Instant etc.), a case class with a single field or a collection of either of these.
Retrieves the query parameter with the specified name as a value of the specified type. The type must have a schema and can be a primitive type (e.g. Int, String, UUID, Instant etc.), a case class with a single field or a collection of either of these.
Attributes
- Inherited from:
- QueryGetters
Attributes
- Inherited from:
- QueryGetters
Attributes
- Inherited from:
- QueryGetters
Retrieves the first query parameter value having the specified name.
Retrieves the first query parameter value having the specified name.
Attributes
- Inherited from:
- QueryGetters
Retrieves the first query parameter value having the specified name, or else uses the default value.
Retrieves the first query parameter value having the specified name, or else uses the default value.
Attributes
- Inherited from:
- QueryGetters
Retrieves all query parameter values having the specified name.
Retrieves all query parameter values having the specified name.
Attributes
- Inherited from:
- QueryGetters
Retrieves all query parameter values having the specified name, or else uses the default iterable.
Retrieves all query parameter values having the specified name, or else uses the default iterable.
Attributes
- Inherited from:
- QueryGetters
Retrieves all typed query parameter values having the specified name as ZIO
Retrieves all typed query parameter values having the specified name as ZIO
Attributes
- Inherited from:
- QueryGetters
Gets the raw unparsed header value
Gets the raw unparsed header value
Attributes
- Inherited from:
- HeaderGetters
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- HeaderModifier
Removes the specified key from the query parameters.
Removes the specified keys from the query parameters.
Attributes
- Inherited from:
- HeaderModifier
Attributes
- Inherited from:
- QueryModifier
Attributes
- Inherited from:
- QueryModifier
Attributes
- Inherited from:
- QueryModifier
Attributes
- Inherited from:
- QueryModifier
Attributes
- Inherited from:
- QueryChecks
Deprecated and Inherited methods
Retrieves the first typed query parameter value having the specified name.
Retrieves the first typed query parameter value having the specified name.
Attributes
- Deprecated
-
[Since version 3.1.0]Use query(key)[T] - Inherited from:
- QueryGetters
Retrieves the first typed query parameter value having the specified name, or else uses the default value.
Retrieves the first typed query parameter value having the specified name, or else uses the default value.
Attributes
- Deprecated
-
[Since version 3.1.0]Use queryParamOrElse(key, default) - Inherited from:
- QueryGetters
Retrieves the first typed query parameter value having the specified name as ZIO.
Retrieves the first typed query parameter value having the specified name as ZIO.
Attributes
- Deprecated
-
[Since version 3.1.0]Use queryZIO(key)[T] - Inherited from:
- QueryGetters
Retrieves all typed query parameter values having the specified name.
Retrieves all typed query parameter values having the specified name.
Attributes
- Deprecated
-
[Since version 3.1.0]Use query(key)[Chunk[T] - Inherited from:
- QueryGetters
Retrieves all query parameter values having the specified name, or else uses the default iterable.
Retrieves all query parameter values having the specified name, or else uses the default iterable.
Attributes
- Deprecated
-
[Since version 3.1.0]Use queryParamsOrElse(key, default) - Inherited from:
- QueryGetters
Retrieves all typed query parameter values having the specified name as ZIO.
Retrieves all typed query parameter values having the specified name as ZIO.
Attributes
- Deprecated
-
[Since version 3.1.0]Use queryZIO(key)[Chunk[T] - Inherited from:
- QueryGetters
Concrete fields
Custom headers and headers required by the used Body
Custom headers and headers required by the used Body