HeaderModifier
Maintains a list of operators that modify the current Headers. Once modified, a new instance of the same type is returned. So or eg: request.addHeader("A", "B") should return a new Request and similarly headers.add("A", "B") should return a new Headers instance.
NOTE: Add methods here that modify the current headers and returns an instance of the same type.
Attributes
- Source
- HeaderModifier.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
- Self type
Members list
Value members
Abstract methods
Updates the current Headers with new one, using the provided update function passed.
Updates the current Headers with new one, using the provided update function passed.
Attributes
- Source
- HeaderModifier.scala
Concrete methods
Attributes
- Source
- HeaderModifier.scala
Attributes
- Source
- HeaderModifier.scala
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
- Source
- HeaderModifier.scala
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
- Source
- HeaderModifier.scala
Attributes
- Source
- HeaderModifier.scala
Attributes
- Source
- HeaderModifier.scala
Attributes
- Source
- HeaderModifier.scala
Attributes
- Source
- HeaderModifier.scala
Attributes
- Source
- HeaderModifier.scala
Attributes
- Source
- HeaderModifier.scala