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
AnyRef, Any
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. val Rfc850WeekDays: Set[String]

    Permalink
  5. def accept(mediaRanges: String): Header

    Permalink
  6. def accept(mediaType: MediaType, additionalMediaTypes: MediaType*): Header

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

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

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

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

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

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

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

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

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

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

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

    Permalink
  18. final def asInstanceOf[T0]: T0

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

    Permalink
  20. def cacheControl(directives: Iterable[CacheDirective]): Header

    Permalink
  21. def cacheControl(first: CacheDirective, other: CacheDirective*): Header

    Permalink
  22. def clone(): AnyRef

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  29. def etag(tag: ETag): Header

    Permalink
  30. def etag(tag: String): Header

    Permalink
  31. def expires(i: Instant): Header

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

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

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

    Permalink
    Definition Classes
    Any
  35. def lastModified(i: Instant): Header

    Permalink
  36. def location(uri: Uri): Header

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  41. def parseHttpDate(v: String): Either[String, Instant]

    Permalink
  42. def proxyAuthorization(authType: String, credentials: String): Header

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

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

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

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

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

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

    Permalink

    Exceptions thrown

    IllegalArgumentException If the header name contains illegal characters.

  49. def unsafeParseHttpDate(s: String): Instant

    Permalink
  50. def userAgent(userAgent: String): Header

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. 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.

Inherited from AnyRef

Inherited from Any

Ungrouped