Packages

  • package root
    Definition Classes
    root
  • package sttp
    Definition Classes
    root
  • package model

    Most model classes contain both serialisation & parsing functionality, following these conventions:

    Most model classes contain both serialisation & parsing functionality, following these conventions:

    • .toString returns a representation of the model class in a format as in an HTTP request/response. For example, for an uri this will be http://..., for a header [name]: [value], etc.
    • [SthCompanionObject].parse(serialized: String): Either[String, Sth]: returns an error message or an instance of the model class
    • [SthCompanionObject].unsafeParse(serialized: String): Sth: returns an instance of the model class or in case of an error, *throws an exception*.
    • [SthCompanionObject].unsafeApply(values): creates an instance of the model class; validates the input values and in case of an error, *throws an exception*. An error could be e.g. that the input values contain characters outside of the allowed range
    • [SthCompanionObject].safeApply(...): Either[String, Sth]: same as above, but doesn't throw exceptions. Instead, returns an error message or the model class instance
    • [SthCompanionObject].apply(...): Sth: creates the model type, without validation, and without throwing exceptions
    Definition Classes
    sttp
  • package headers
    Definition Classes
    model
  • package internal
    Definition Classes
    model
  • package sse
    Definition Classes
    model
  • ContentRangeUnits
  • ContentTypeRange
  • Encodings
  • HasHeaders
  • Header
  • HeaderNames
  • Headers
  • MediaType
  • MediaTypes
  • Method
  • Methods
  • Part
  • QueryParams
  • RequestMetadata
  • ResponseMetadata
  • StatusCode
  • StatusCodes
  • Uri
  • UriInterpolator

trait HeaderNames extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HeaderNames
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val Accept: String
  5. val AcceptCharset: String
  6. val AcceptEncoding: String
  7. val AcceptLanguage: String
  8. val AcceptRanges: String
  9. val AccessControlAllowCredentials: String
  10. val AccessControlAllowHeaders: String
  11. val AccessControlAllowMethods: String
  12. val AccessControlAllowOrigin: String
  13. val AccessControlExposeHeaders: String
  14. val AccessControlMaxAge: String
  15. val AccessControlRequestHeaders: String
  16. val AccessControlRequestMethod: String
  17. val Age: String
  18. val Allow: String
  19. val Authorization: String
  20. val CacheControl: String
  21. val Connection: String
  22. val ContentDisposition: String
  23. val ContentEncoding: String
  24. val ContentHeaders: Set[String]
  25. val ContentLanguage: String
  26. val ContentLength: String
  27. val ContentLocation: String
  28. val ContentMd5: String
  29. val ContentRange: String
  30. val ContentTransferEncoding: String
  31. val ContentType: String
  32. val Cookie: String
  33. val Date: String
  34. val Etag: String
  35. val Expect: String
  36. val Expires: String
  37. val Forwarded: String
  38. val From: String
  39. val Host: String
  40. val IfMatch: String
  41. val IfModifiedSince: String
  42. val IfNoneMatch: String
  43. val IfRange: String
  44. val IfUnmodifiedSince: String
  45. val LastModified: String
  46. val Link: String
  47. val Location: String
  48. val MaxForwards: String
  49. val Origin: String
  50. val Pragma: String
  51. val ProxyAuthenticate: String
  52. val ProxyAuthorization: String
  53. val Range: String
  54. val Referer: String
  55. val RemoteAddress: String
  56. val RetryAfter: String
  57. val SecWebSocketAccept: String
  58. val SecWebSocketExtensions: String
  59. val SecWebSocketKey: String
  60. val SecWebSocketProtocol: String
  61. val SecWebSocketVersion: String
  62. val SensitiveHeaders: Set[String]
  63. val Server: String
  64. val SetCookie: String
  65. val StrictTransportSecurity: String
  66. val Te: String
  67. val Trailer: String
  68. val TransferEncoding: String
  69. val Upgrade: String
  70. val UserAgent: String
  71. val Vary: String
  72. val Via: String
  73. val Warning: String
  74. val WwwAuthenticate: String
  75. val XForwardedFor: String
  76. val XForwardedHost: String
  77. val XForwardedPort: String
  78. val XForwardedProto: String
  79. val XFrameOptions: String
  80. val XRealIp: String
  81. val XRequestedWith: String
  82. val XXSSProtection: String
  83. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  84. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  85. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  86. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  87. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  88. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  89. def isContent(header: Header): Boolean

    Performs a case-insensitive check, whether this header is content-related.

  90. def isContent(headerName: String): Boolean

    Performs a case-insensitive check, whether this header name is content-related.

  91. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  92. def isSensitive(header: Header, sensitiveHeaders: Set[String]): Boolean

    Performs a case-insensitive check, whether this header is sensitive.

  93. def isSensitive(header: Header): Boolean

    Performs a case-insensitive check, whether this header is sensitive.

  94. def isSensitive(headerName: String, sensitiveHeaders: Set[String]): Boolean

    Performs a case-insensitive check, whether this header name is sensitive.

  95. def isSensitive(headerName: String): Boolean

    Performs a case-insensitive check, whether this header name is sensitive.

  96. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  97. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  98. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  99. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  100. def toString(): String
    Definition Classes
    AnyRef → Any
  101. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  102. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  103. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped