sttp.model.headers

Members list

Type members

Classlikes

case class AcceptEncoding(encodings: List[WeightedEncoding])

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
object Accepts

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Accepts.type
sealed trait AuthenticationScheme

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Basic
object Bearer
object Digest

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait CacheDirective

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Immutable
class MaxAge
class MaxStale
class MinFresh
object NoCache
object NoStore
object NoTransform
object OnlyIfCached
object Private
object Public
class SMaxage
class StaleIfError
Show all

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
case class ContentRange(unit: String, range: Option[(Long, Long)], size: Option[Long])

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object ContentRange

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class Cookie(name: String, value: String)

A cookie name-value pair.

A cookie name-value pair.

The name and value should be already encoded (if necessary), as when serialised, they end up unmodified in the header.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Cookie

For a description of the behavior of apply, parse, safeApply and unsafeApply methods, see sttp.model.

For a description of the behavior of apply, parse, safeApply and unsafeApply methods, see sttp.model.

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Cookie.type
case class CookieValueWithMeta(value: String, expires: Option[Instant], maxAge: Option[Long], domain: Option[String], path: Option[String], secure: Boolean, httpOnly: Boolean, sameSite: Option[SameSite], otherDirectives: Map[String, Option[String]])

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class CookieWithMeta(name: String, valueWithMeta: CookieValueWithMeta)

A cookie name-value pair with directives.

A cookie name-value pair with directives.

All String values should be already encoded (if necessary), as when serialised, they end up unmodified in the header.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class ETag(tag: String, weak: Boolean)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object ETag

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
ETag.type
sealed trait Origin

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Host
object Null
object Origin

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Origin.type
case class Range(start: Option[Long], end: Option[Long], unit: String)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Range

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Range.type
case class WWWAuthenticateChallenge(scheme: String, params: ListMap[String, String])

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type