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
  • HttpVersion
  • MediaType
  • MediaTypes
  • Method
  • Methods
  • Part
  • QueryParams
  • RequestMetadata
  • ResponseMetadata
  • StatusCode
  • StatusCodes
  • StatusText
  • Uri
  • UriInterpolator

object HeaderNames extends HeaderNames

Linear Supertypes
HeaderNames, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HeaderNames
  2. HeaderNames
  3. AnyRef
  4. 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
    Definition Classes
    HeaderNames
  5. val AcceptCharset: String
    Definition Classes
    HeaderNames
  6. val AcceptEncoding: String
    Definition Classes
    HeaderNames
  7. val AcceptLanguage: String
    Definition Classes
    HeaderNames
  8. val AcceptRanges: String
    Definition Classes
    HeaderNames
  9. val AccessControlAllowCredentials: String
    Definition Classes
    HeaderNames
  10. val AccessControlAllowHeaders: String
    Definition Classes
    HeaderNames
  11. val AccessControlAllowMethods: String
    Definition Classes
    HeaderNames
  12. val AccessControlAllowOrigin: String
    Definition Classes
    HeaderNames
  13. val AccessControlExposeHeaders: String
    Definition Classes
    HeaderNames
  14. val AccessControlMaxAge: String
    Definition Classes
    HeaderNames
  15. val AccessControlRequestHeaders: String
    Definition Classes
    HeaderNames
  16. val AccessControlRequestMethod: String
    Definition Classes
    HeaderNames
  17. val Age: String
    Definition Classes
    HeaderNames
  18. val Allow: String
    Definition Classes
    HeaderNames
  19. val Authorization: String
    Definition Classes
    HeaderNames
  20. val CacheControl: String
    Definition Classes
    HeaderNames
  21. val Connection: String
    Definition Classes
    HeaderNames
  22. val ContentDisposition: String
    Definition Classes
    HeaderNames
  23. val ContentEncoding: String
    Definition Classes
    HeaderNames
  24. val ContentHeaders: Set[String]
    Definition Classes
    HeaderNames
  25. val ContentLanguage: String
    Definition Classes
    HeaderNames
  26. val ContentLength: String
    Definition Classes
    HeaderNames
  27. val ContentLocation: String
    Definition Classes
    HeaderNames
  28. val ContentMd5: String
    Definition Classes
    HeaderNames
  29. val ContentRange: String
    Definition Classes
    HeaderNames
  30. val ContentTransferEncoding: String
    Definition Classes
    HeaderNames
  31. val ContentType: String
    Definition Classes
    HeaderNames
  32. val Cookie: String
    Definition Classes
    HeaderNames
  33. val Date: String
    Definition Classes
    HeaderNames
  34. val Etag: String
    Definition Classes
    HeaderNames
  35. val Expect: String
    Definition Classes
    HeaderNames
  36. val Expires: String
    Definition Classes
    HeaderNames
  37. val Forwarded: String
    Definition Classes
    HeaderNames
  38. val From: String
    Definition Classes
    HeaderNames
  39. val Host: String
    Definition Classes
    HeaderNames
  40. val IfMatch: String
    Definition Classes
    HeaderNames
  41. val IfModifiedSince: String
    Definition Classes
    HeaderNames
  42. val IfNoneMatch: String
    Definition Classes
    HeaderNames
  43. val IfRange: String
    Definition Classes
    HeaderNames
  44. val IfUnmodifiedSince: String
    Definition Classes
    HeaderNames
  45. val LastModified: String
    Definition Classes
    HeaderNames
  46. val Link: String
    Definition Classes
    HeaderNames
  47. val Location: String
    Definition Classes
    HeaderNames
  48. val MaxForwards: String
    Definition Classes
    HeaderNames
  49. val Origin: String
    Definition Classes
    HeaderNames
  50. val Pragma: String
    Definition Classes
    HeaderNames
  51. val ProxyAuthenticate: String
    Definition Classes
    HeaderNames
  52. val ProxyAuthorization: String
    Definition Classes
    HeaderNames
  53. val Range: String
    Definition Classes
    HeaderNames
  54. val Referer: String
    Definition Classes
    HeaderNames
  55. val RemoteAddress: String
    Definition Classes
    HeaderNames
  56. val RetryAfter: String
    Definition Classes
    HeaderNames
  57. val SecWebSocketAccept: String
    Definition Classes
    HeaderNames
  58. val SecWebSocketExtensions: String
    Definition Classes
    HeaderNames
  59. val SecWebSocketKey: String
    Definition Classes
    HeaderNames
  60. val SecWebSocketProtocol: String
    Definition Classes
    HeaderNames
  61. val SecWebSocketVersion: String
    Definition Classes
    HeaderNames
  62. val SensitiveHeaders: Set[String]
    Definition Classes
    HeaderNames
  63. val Server: String
    Definition Classes
    HeaderNames
  64. val SetCookie: String
    Definition Classes
    HeaderNames
  65. val StrictTransportSecurity: String
    Definition Classes
    HeaderNames
  66. val Te: String
    Definition Classes
    HeaderNames
  67. val Trailer: String
    Definition Classes
    HeaderNames
  68. val TransferEncoding: String
    Definition Classes
    HeaderNames
  69. val Upgrade: String
    Definition Classes
    HeaderNames
  70. val UserAgent: String
    Definition Classes
    HeaderNames
  71. val Vary: String
    Definition Classes
    HeaderNames
  72. val Via: String
    Definition Classes
    HeaderNames
  73. val Warning: String
    Definition Classes
    HeaderNames
  74. val WwwAuthenticate: String
    Definition Classes
    HeaderNames
  75. val XForwardedFor: String
    Definition Classes
    HeaderNames
  76. val XForwardedHost: String
    Definition Classes
    HeaderNames
  77. val XForwardedPort: String
    Definition Classes
    HeaderNames
  78. val XForwardedProto: String
    Definition Classes
    HeaderNames
  79. val XFrameOptions: String
    Definition Classes
    HeaderNames
  80. val XRealIp: String
    Definition Classes
    HeaderNames
  81. val XRequestedWith: String
    Definition Classes
    HeaderNames
  82. val XXSSProtection: String
    Definition Classes
    HeaderNames
  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.

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

    Definition Classes
    HeaderNames
  90. def isContent(headerName: String): Boolean

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

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

    Definition Classes
    HeaderNames
  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.

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

    Definition Classes
    HeaderNames
  93. def isSensitive(header: Header): Boolean

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

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

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

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

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

    Definition Classes
    HeaderNames
  95. def isSensitive(headerName: String): Boolean

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

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

    Definition Classes
    HeaderNames
  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 HeaderNames

Inherited from AnyRef

Inherited from Any

Ungrouped