Packages

p

org.http4s

headers

package headers

Source
package.scala
Linear Supertypes
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 Product with Serializable
  2. final case class Accept-Charset(values: NonEmptyList[CharsetRange]) extends Product with Serializable

    The "Accept-Charset" header field can be sent by a user agent to
    indicate what charsets are acceptable in textual response content.
    This field allows user agents capable of understanding more

    From [http//tools.ietf.org/html/rfc7231#section-5.3.3 RFC-7231].

  3. final case class Accept-Encoding(values: NonEmptyList[ContentCoding]) extends Product with Serializable
  4. final case class Accept-Language(values: NonEmptyList[LanguageTag]) extends Product with Serializable

    Request header used to indicate which natural language would be preferred for the response to be translated into.

    Request header used to indicate which natural language would be preferred for the response to be translated into.

    RFC-7231 Section 5.3.5

  5. final case class Accept-Patch(values: NonEmptyList[MediaType]) extends Product with Serializable
  6. final case class Accept-Ranges extends Product with Serializable
  7. final case class Access-Control-Allow-Credentials() extends Product with Serializable
  8. final case class Access-Control-Allow-Headers(values: NonEmptyList[CIString]) extends Product with Serializable
  9. final case class Access-Control-Expose-Headers(values: NonEmptyList[CIString]) extends Product with Serializable
  10. final case class Age extends Product with Serializable

    Constructs an Age header.

    Constructs an Age header.

    The value of this field is a positive number of seconds (in decimal) with an estimate of the amount of time since the response

  11. final case class Allow(methods: Set[Method]) extends Product with Serializable

    A Response header that lists the methods that are supported by the target resource.

    A Response header that lists the methods that are supported by the target resource. Often attached to responses with status 405 Not Allowed.

    RFC-7231 Section 7.4.1 Allow

  12. final case class Authorization(credentials: Credentials) extends Product with Serializable
  13. final case class Cache-Control(values: NonEmptyList[CacheDirective]) extends Product with Serializable
  14. final case class Connection(values: NonEmptyList[CIString]) extends Product with Serializable
  15. final case class Content-Disposition(dispositionType: String, parameters: Map[CIString, String]) extends Product with Serializable
  16. final case class Content-Encoding(contentCoding: ContentCoding) extends Product with Serializable
  17. final case class Content-Language(values: NonEmptyList[LanguageTag]) extends Product with Serializable
  18. final case class Content-Length(length: Long) extends 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

  19. final case class Content-Location(uri: Uri) extends Product with Serializable

    The "Content-Location" header field references a URI that can be used
    as an identifier for a specific resource corresponding to the
    representation in this message's payload

    RFC-7231 Section 3.1.4.2

  20. final case class Content-Range(unit: RangeUnit, range: SubRange, length: Option[Long]) extends Product with Serializable
  21. final case class Content-Type extends Product with Serializable

    The "Content-Type" header field indicates the media type of the
    associated representation: either the representation enclosed in the
    message payload or the selected representation, as determined by the
    message semantics.

    RFC-7231

  22. final case class Cookie(values: NonEmptyList[RequestCookie]) extends Product with Serializable
  23. final case class Date(date: HttpDate) extends Product with Serializable
  24. final case class ETag(tag: EntityTag) extends Product with Serializable
  25. final case class Expires(expirationDate: HttpDate) extends Product with Serializable

    A Response header that _gives the date/time after which the response is considered stale_.

    A Response header that _gives the date/time after which the response is considered stale_.

    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

    RFC-7234 Section 5.3

    expirationDate

    the date of expiration. The RFC has a warning, that using large values can cause problems due to integer or clock overflows.

  26. final case class Forwarded(values: NonEmptyList[Element]) extends Product with Serializable
  27. final case class Host(host: String, port: Option[Int] = None) extends Product with Serializable

    A Request header, that provides the host and port information

    A Request header, that provides the host and port information

    The "Host" header field in a request provides the host and port
    information from the target URI, enabling the origin server to
    distinguish among resources while servicing requests for multiple
    host names on a single IP address.

    This header was mandatory in version 1.1 of the Http protocol.

    RFC-7230 Section 5.4

  28. final case class Idempotency-Key(key: String) extends Product with Serializable

    Request header defines request to be idempotent used by client retry middleware.

    Request header defines request to be idempotent used by client retry middleware.

    idempotency-header

  29. final case class If-Match(tags: Option[NonEmptyList[EntityTag]]) extends Product with Serializable

    Request header to make the request conditional on the current contents of the origin server at the given target resource (URI).

    Request header to make the request conditional on the current contents of the origin server at the given target resource (URI).

    RFC-7232 Section 3.1

  30. final case class If-Modified-Since(date: HttpDate) extends Product with Serializable

    {{ The "If-Modified-Since" header field makes a GET or HEAD request method conditional on the selected representation's modification date being more recent than the date provided in the field-value.

    {{ The "If-Modified-Since" header field makes a GET or HEAD request method conditional on the selected representation's modification date being more recent than the date provided in the field-value. }}

    RFC-7232

  31. final case class If-None-Match(tags: Option[NonEmptyList[EntityTag]]) extends Product with Serializable
  32. final case class If-Unmodified-Since(date: HttpDate) extends Product with Serializable
  33. final case class Last-Event-Id(id: EventId) extends Product with Serializable
  34. final case class Last-Modified(date: HttpDate) extends Product with Serializable

    Response header that indicates the time at which the server believes the entity was last modified.

    Response header that indicates the time at which the server believes the entity was last modified.

    RFC-7232

  35. final case class Link(values: NonEmptyList[LinkValue]) extends Product with Serializable
  36. final case class LinkValue(uri: Uri, rel: Option[String] = None, rev: Option[String] = None, title: Option[String] = None, type: Option[MediaRange] = None) extends Renderable with Product with Serializable
  37. final case class Location(uri: Uri) extends Product with Serializable
  38. sealed abstract case class Max-Forwards extends Product with Serializable

    Request header, used with the TRACE and OPTION request methods, that gives an upper bound on how many times the request can be forwarded by a proxy before it is rejected.

    Request header, used with the TRACE and OPTION request methods, that gives an upper bound on how many times the request can be forwarded by a proxy before it is rejected.

    RFC-7231

  39. final case class MediaRangeAndQValue(mediaRange: MediaRange, qValue: QValue = QValue.One) extends Renderable with Product with Serializable
  40. sealed abstract class Origin extends AnyRef
  41. final case class Proxy-Authenticate(values: NonEmptyList[Challenge]) extends Product with Serializable

    The "Proxy-Authenticate" header field consists of at least one
    challenge that indicates the authentication scheme(s) and parameters
    applicable to the proxy for this effective request URI...

    From RFC-7235

  42. final case class Proxy-Authorization(credentials: Credentials) extends Product with Serializable
  43. final case class Range(unit: RangeUnit, ranges: NonEmptyList[SubRange]) extends Product with Serializable
  44. final case class Referer(uri: Uri) extends Product with Serializable
  45. sealed abstract case class Retry-After extends Product with Serializable

    Response header, used by the server to indicate to the user-agent how long it has to wait before it can try again with a follow-up request.

    Response header, used by the server to indicate to the user-agent how long it has to wait before it can try again with a follow-up request.

    RFC-7231 Section 7.1.3

  46. final case class Server(product: ProductId, rest: List[ProductIdOrComment]) extends Product with Serializable

    Server header https://tools.ietf.org/html/rfc7231#section-7.4.2

  47. final case class Set-Cookie(cookie: ResponseCookie) extends Product with Serializable
  48. sealed abstract case class Strict-Transport-Security extends Product with Serializable
  49. final case class Transfer-Encoding(values: NonEmptyList[TransferCoding]) extends Product with Serializable
  50. final case class User-Agent(product: ProductId, rest: List[ProductIdOrComment]) extends Product with Serializable

    User-Agent header RFC-7231 Section 5.5.3

  51. final case class WWW-Authenticate(values: NonEmptyList[Challenge]) extends Product with Serializable
  52. final case class X-B3-Flags(flags: Set[Flag]) extends Product with Serializable
  53. final case class X-B3-ParentSpanId(id: Long) extends Product with Serializable
  54. final case class X-B3-Sampled(sampled: Boolean) extends Product with Serializable
  55. final case class X-B3-SpanId(id: Long) extends Product with Serializable
  56. final case class X-B3-TraceId(idMostSigBits: Long, idLeastSigBits: Option[Long]) extends Product with Serializable
  57. final case class X-Forwarded-For(values: NonEmptyList[Option[IpAddress]]) extends Product with Serializable
  58. type AgentComment = ProductComment
    Annotations
    @deprecated
    Deprecated

    (Since version 0.22.0-M1) Deprecated in favor of ProductComment

  59. type AgentProduct = ProductId
    Annotations
    @deprecated
    Deprecated

    (Since version 0.22.0-M1) Deprecated in favor of ProductId

  60. type AgentToken = ProductIdOrComment
    Annotations
    @deprecated
    Deprecated

    (Since version 0.22.0-M1) Deprecated in favor of ProductIdOrComment

Value Members

  1. object Accept extends Serializable
  2. object Accept-Charset extends Serializable
  3. object Accept-Encoding extends Serializable
  4. object Accept-Language extends Serializable
  5. object Accept-Patch extends Serializable
  6. object Accept-Ranges extends Serializable
  7. object Access-Control-Allow-Credentials extends Serializable
  8. object Access-Control-Allow-Headers extends Serializable
  9. object Access-Control-Expose-Headers extends Serializable
  10. object Age extends Serializable
  11. object Allow extends Serializable
  12. object Authorization extends Serializable
  13. object Cache-Control extends Serializable
  14. object Connection extends Serializable
  15. object Content-Disposition extends Serializable
  16. object Content-Encoding extends Serializable
  17. object Content-Language extends Serializable
  18. object Content-Length extends Serializable
  19. object Content-Location extends Serializable
  20. object Content-Range extends Serializable
  21. object Content-Type extends Serializable
  22. object Cookie extends Serializable
  23. object Date extends Serializable
  24. object ETag extends Serializable
  25. object Expires extends Serializable
  26. object Forwarded extends ForwardedRenderers with Serializable
  27. object Host extends Serializable
  28. object Idempotency-Key extends Serializable
  29. object If-Match extends Serializable
  30. object If-Modified-Since extends Serializable
  31. object If-None-Match extends Serializable

    The "If-None-Match" header field makes the request method conditional
    on a recipient cache or origin server either not having any current
    representation of the target resource, when the field-value is "*",
    or having a selected representation with an entity-tag that does not
    match any of those listed in the field-value.

    From RFC-7232

  32. object If-Unmodified-Since extends Serializable
  33. object Last-Event-Id extends Serializable
  34. object Last-Modified extends Serializable
  35. object Link extends Serializable
  36. object Location extends Serializable
  37. object Max-Forwards extends Serializable
  38. object MediaRangeAndQValue extends Serializable
  39. object Origin
  40. object Proxy-Authenticate extends Serializable
  41. object Proxy-Authorization extends Serializable

    The "Proxy-Authorization" header field allows the client to identify
    itself (or its user) to a proxy that requires authentication.

    From RFC-7235

  42. object Range extends Serializable
  43. object Referer extends Serializable
  44. object Retry-After extends Serializable
  45. object Server extends Serializable
  46. object Set-Cookie extends Serializable
  47. object Strict-Transport-Security extends Serializable

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

  48. object Transfer-Encoding extends Serializable
  49. object User-Agent extends Serializable
  50. object WWW-Authenticate extends Serializable
  51. object X-B3-Flags extends Serializable
  52. object X-B3-ParentSpanId extends Serializable
  53. object X-B3-Sampled extends Serializable
  54. object X-B3-SpanId extends Serializable
  55. object X-B3-TraceId extends Serializable
  56. object X-Forwarded-For extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped