Packages

p

org.http4s

headers

package headers

Source
package.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. headers
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class Accept (values: NonEmptyList[MediaRangeAndQValue]) extends RecurringRenderable with Product with Serializable
  2. final case class Accept-Charset (values: NonEmptyList[CharsetRange]) extends RecurringRenderable with Product with Serializable
  3. final case class Accept-Encoding (values: NonEmptyList[ContentCoding]) extends RecurringRenderable with Product with Serializable
  4. final case class Accept-Language (values: NonEmptyList[LanguageTag]) extends RecurringRenderable with Product with Serializable
  5. final case class Accept-Ranges extends Parsed with Product with Serializable
  6. final case class AgentComment (comment: String) extends AgentToken with Product with Serializable
  7. final case class AgentProduct (name: String, version: Option[String] = None) extends AgentToken with Product with Serializable
  8. sealed trait AgentToken extends Renderable
  9. final case class Allow (methods: NonEmptyList[Method]) extends Parsed with Product with Serializable
  10. final case class Authorization (credentials: Credentials) extends Parsed with Product with Serializable
  11. final case class Cache-Control (values: NonEmptyList[CacheDirective]) extends RecurringRenderable with Product with Serializable
  12. final case class Connection (values: NonEmptyList[CaseInsensitiveString]) extends Recurring with Product with Serializable
  13. final case class Content-Disposition (dispositionType: String, parameters: Map[String, String]) extends Parsed with Product with Serializable
  14. final case class Content-Encoding (contentCoding: ContentCoding) extends Parsed with Product with Serializable
  15. final case class Content-Length (length: Long) extends Parsed with Product with Serializable

    Constructs a Content-Length header.

    Constructs a Content-Length header.

    The HTTP RFCs do not specify a maximum length. We have decided that Long.MaxValue bytes ought to be good enough for anybody in order to avoid the irritations of BigInt.

    length

    the length; throws an IllegalArgumentException if negative

  16. final case class Content-Range (unit: RangeUnit, range: SubRange, length: Option[Long]) extends Parsed with Product with Serializable
  17. final case class Content-Type (mediaType: MediaType, charset: Option[Charset]) extends Parsed with Product with Serializable
  18. final case class Cookie (values: NonEmptyList[http4s.Cookie]) extends RecurringRenderable with Product with Serializable
  19. final case class Date (date: Instant) extends Parsed with Product with Serializable
  20. final case class ETag (tag: EntityTag) extends Parsed with Product with Serializable
  21. final case class Expires (expirationDate: Instant) extends Parsed with Product with Serializable

    Constructs an Expires header.

    Constructs an Expires header.

    The HTTP RFCs indicate that Expires should be in the range of now to 1 year in the future. However, it is a usual practice to set it to the past of far in the future Thus any instant is in practice allowed

    expirationDate

    the date of expiration

  22. final case class Host (host: String, port: Option[Int] = None) extends Parsed with Product with Serializable
  23. final case class If-Modified-Since (date: Instant) extends Parsed with Product with Serializable
  24. final case class If-None-Match (tags: Option[NonEmptyList[EntityTag]]) extends Parsed with Product with Serializable
  25. final case class Last-Modified (date: Instant) extends Parsed with Product with Serializable
  26. final case class Location (uri: Uri) extends Parsed with Product with Serializable
  27. final case class MediaRangeAndQValue (mediaRange: MediaRange, qValue: QValue = QValue.One) extends Renderable with Product with Serializable
  28. final case class Proxy-Authenticate (values: NonEmptyList[Challenge]) extends RecurringRenderable with Product with Serializable
  29. final case class Range (unit: RangeUnit, ranges: NonEmptyList[SubRange]) extends Parsed with Product with Serializable
  30. final case class Retry-After (retry: Either[Instant, FiniteDuration]) extends Parsed with Product with Serializable

    Constructs a Retry-After header.

    Constructs a Retry-After header.

    The value of this field can be either an HTTP-date or an integer number of seconds (in decimal) after the time of the response.

    retry

    Either the date of expiration or seconds until expiration

  31. final case class Set-Cookie (cookie: http4s.Cookie) extends Parsed with Product with Serializable
  32. final case class Transfer-Encoding (values: NonEmptyList[TransferCoding]) extends RecurringRenderable with Product with Serializable
  33. final case class User-Agent (product: AgentProduct, other: Seq[AgentToken] = Seq.empty) extends Parsed with Product with Serializable
  34. final case class WWW-Authenticate (values: NonEmptyList[Challenge]) extends RecurringRenderable with Product with Serializable
  35. final case class X-B3-Flags (flags: Set[Flag]) extends Parsed with Product with Serializable
  36. final case class X-B3-ParentSpanId (id: Long) extends Parsed with Product with Serializable
  37. final case class X-B3-Sampled (sampled: Boolean) extends Parsed with Product with Serializable
  38. final case class X-B3-SpanId (id: Long) extends Parsed with Product with Serializable
  39. final case class X-B3-TraceId (id: Long) extends Parsed with Product with Serializable
  40. final case class X-Forwarded-For (values: NonEmptyList[Option[InetAddress]]) extends Recurring with Product with Serializable

Value Members

  1. object Accept extends Internal[Accept] with Recurring with Serializable
  2. object Accept-Charset extends Internal[Accept-Charset] with Recurring with Serializable
  3. object Accept-Encoding extends Internal[Accept-Encoding] with Recurring with Serializable
  4. object Accept-Language extends Internal[Accept-Language] with Recurring with Serializable
  5. object Accept-Patch extends Internal[Header] with Default
  6. object Accept-Ranges extends Internal[Accept-Ranges] with Singleton with Serializable
  7. object Access-Control-Allow-Credentials extends Internal[Header] with Default
  8. object Access-Control-Allow-Headers extends Internal[Header] with Default
  9. object Access-Control-Allow-Methods extends Internal[Header] with Default
  10. object Access-Control-Allow-Origin extends Internal[Header] with Default
  11. object Access-Control-Expose-Headers extends Internal[Header] with Default
  12. object Access-Control-Max-Age extends Internal[Header] with Default
  13. object Access-Control-Request-Headers extends Internal[Header] with Default
  14. object Access-Control-Request-Method extends Internal[Header] with Default
  15. object Age extends Internal[Header] with Default
  16. object Allow extends Internal[Allow] with Singleton with Serializable
  17. object Authorization extends Internal[Authorization] with Singleton with Serializable
  18. object Cache-Control extends Internal[Cache-Control] with Recurring with Serializable
  19. object Connection extends Internal[Connection] with Recurring with Serializable
  20. object Content-Base extends Internal[Header] with Default
  21. object Content-Disposition extends Internal[Content-Disposition] with Singleton with Serializable
  22. object Content-Encoding extends Internal[Content-Encoding] with Singleton with Serializable
  23. object Content-Language extends Internal[Header] with Default
  24. object Content-Length extends Internal[Content-Length] with Singleton with Serializable
  25. object Content-Location extends Internal[Header] with Default
  26. object Content-MD5 extends Internal[Header] with Default
  27. object Content-Range extends Internal[Content-Range] with Singleton with Serializable
  28. object Content-Security-Policy extends Internal[Header] with Default

    Defined by http://www.w3.org/TR/CSP/

  29. object Content-Transfer-Encoding extends Internal[Header] with Default
  30. object Content-Type extends Internal[Content-Type] with Singleton with Serializable
  31. object Cookie extends Internal[Cookie] with Recurring with Serializable
  32. object Date extends Internal[Date] with Singleton with Serializable
  33. object ETag extends Internal[ETag] with Singleton with Serializable
  34. object Expect extends Internal[Header] with Default
  35. object Expires extends Internal[Expires] with Singleton with Serializable
  36. object From extends Internal[Header] with Default
  37. object Front-End-Https extends Internal[Header] with Default
  38. object Host extends Internal[Host] with Singleton with Serializable
  39. object If-Match extends Internal[Header] with Default
  40. object If-Modified-Since extends Internal[If-Modified-Since] with Singleton with Serializable
  41. object If-None-Match extends Internal[If-None-Match] with Singleton with Serializable
  42. object If-Range extends Internal[Header] with Default
  43. object If-Unmodified-Since extends Internal[Header] with Default
  44. object Last-Modified extends Internal[Last-Modified] with Singleton with Serializable
  45. object Location extends Internal[Location] with Singleton with Serializable
  46. object Max-Forwards extends Internal[Header] with Default
  47. object MediaRangeAndQValue extends Serializable
  48. object Origin extends Internal[Header] with Default
  49. object Pragma extends Internal[Header] with Default
  50. object Proxy-Authenticate extends Internal[Proxy-Authenticate] with Recurring with Serializable
  51. object Proxy-Authentication extends Internal[Header] with Default
  52. object Proxy-Authorization extends Internal[Header] with Default
  53. object Range extends Internal[Range] with Singleton with Serializable
  54. object Referer extends Internal[Header] with Default
  55. object Retry-After extends Internal[Retry-After] with Singleton with Serializable
  56. object Sec-WebSocket-Accept extends Internal[Header] with Default
  57. object Sec-WebSocket-Key extends Internal[Header] with Default
  58. object Sec-WebSocket-Key1 extends Internal[Header] with Default
  59. object Sec-WebSocket-Key2 extends Internal[Header] with Default
  60. object Sec-WebSocket-Location extends Internal[Header] with Default
  61. object Sec-WebSocket-Origin extends Internal[Header] with Default
  62. object Sec-WebSocket-Protocol extends Internal[Header] with Default
  63. object Sec-WebSocket-Version extends Internal[Header] with Default
  64. object Server extends Internal[Header] with Default
  65. object Set-Cookie extends Internal[Set-Cookie] with Singleton with Serializable
  66. object Strict-Transport-Security extends Internal[Header] with Default

    Defined by http://tools.ietf.org/html/rfc6797

  67. object TE extends Internal[Header] with Default
  68. object Trailer extends Internal[Header] with Default
  69. object Transfer-Encoding extends Internal[Transfer-Encoding] with Recurring with Serializable
  70. object Upgrade extends Internal[Header] with Default
  71. object User-Agent extends Internal[User-Agent] with Singleton with Serializable
  72. object Vary extends Internal[Header] with Default
  73. object Via extends Internal[Header] with Default
  74. object WWW-Authenticate extends Internal[WWW-Authenticate] with Recurring with Serializable
  75. object Warning extends Internal[Header] with Default
  76. object WebSocket-Location extends Internal[Header] with Default
  77. object WebSocket-Origin extends Internal[Header] with Default
  78. object WebSocket-Protocol extends Internal[Header] with Default
  79. object X-B3-Flags extends Internal[X-B3-Flags] with Singleton with Serializable
  80. object X-B3-ParentSpanId extends Internal[X-B3-ParentSpanId] with Singleton with Serializable
  81. object X-B3-Sampled extends Internal[X-B3-Sampled] with Singleton with Serializable
  82. object X-B3-SpanId extends Internal[X-B3-SpanId] with Singleton with Serializable
  83. object X-B3-TraceId extends Internal[X-B3-TraceId] with Singleton with Serializable
  84. object X-Content-Type-Options extends Internal[Header] with Default
  85. object X-Forwarded-For extends Internal[X-Forwarded-For] with Recurring with Serializable
  86. object X-Forwarded-Proto extends Internal[Header] with Default
  87. object X-Frame-Options extends Internal[Header] with Default

    Defined by http://tools.ietf.org/html/rfc7034#section-2.1

  88. object X-Powered-By extends Internal[Header] with Default
  89. object X-Requested-With extends Internal[Header] with Default

Inherited from AnyRef

Inherited from Any

Ungrouped