Object/Class

sttp.model

Header

Related Docs: class Header | package model

Permalink

object Header

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

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Header
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def accept(mediaRanges: String): Header

    Permalink
  5. def acceptCharset(charsetRanges: String): Header

    Permalink
  6. def acceptEncoding(encodingRanges: String): Header

    Permalink
  7. def accessControlAllowCredentials(allow: Boolean): Header

    Permalink
  8. def accessControlAllowHeaders(headerNames: String*): Header

    Permalink
  9. def accessControlAllowMethods(methods: Method*): Header

    Permalink
  10. def accessControlAllowOrigin(originRange: String): Header

    Permalink
  11. def accessControlExposeHeaders(headerNames: String*): Header

    Permalink
  12. def accessControlMaxAge(deltaSeconds: Long): Header

    Permalink
  13. def accessControlRequestHeaders(headerNames: String*): Header

    Permalink
  14. def accessControlRequestMethod(method: Method): Header

    Permalink
  15. def apply(name: String, value: String): Header

    Permalink
  16. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  17. def authorization(authType: String, credentials: String): Header

    Permalink
  18. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  19. def contentEncoding(encoding: String): Header

    Permalink
  20. def contentLength(length: Long): Header

    Permalink
  21. def contentType(mediaType: MediaType): Header

    Permalink
  22. def cookie(firstCookie: Cookie, otherCookies: Cookie*): Header

    Permalink
  23. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  25. def etag(tag: String): Header

    Permalink
  26. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  27. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  28. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  29. def location(uri: Uri): Header

    Permalink
  30. def location(uri: String): Header

    Permalink
  31. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  32. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  33. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  34. def proxyAuthorization(authType: String, credentials: String): Header

    Permalink
  35. def safeApply(name: String, value: String): Either[String, Header]

    Permalink
  36. def setCookie(cookie: CookieWithMeta): Header

    Permalink
  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  38. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  39. def unapply(h: Header): Option[(String, String)]

    Permalink
  40. def unsafeApply(name: String, value: String): Header

    Permalink

    Exceptions thrown

    IllegalArgumentException If the header name contains illegal characters.

  41. def userAgent(userAgent: String): Header

    Permalink
  42. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. def xForwardedFor(firstAddress: String, otherAddresses: String*): Header

    Permalink

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  2. def notValidated(name: String, value: String): Header

    Permalink
    Annotations
    @deprecated
    Deprecated

    use apply

Inherited from AnyRef

Inherited from Any

Ungrouped