package headers
- Source
- package.scala
- Alphabetic
- By Inheritance
- headers
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- final case class Accept (values: NonEmptyList[MediaRangeAndQValue]) extends RecurringRenderable with Product with Serializable
- final case class Accept-Charset (values: NonEmptyList[CharsetRange]) extends RecurringRenderable with Product with Serializable
- final case class Accept-Encoding (values: NonEmptyList[ContentCoding]) extends RecurringRenderable with Product with Serializable
- final case class Accept-Language (values: NonEmptyList[LanguageTag]) extends RecurringRenderable with Product with Serializable
- final case class Accept-Ranges extends Parsed with Product with Serializable
- final case class AgentComment (comment: String) extends AgentToken with Product with Serializable
- final case class AgentProduct (name: String, version: Option[String] = None) extends AgentToken with Product with Serializable
- sealed trait AgentToken extends Renderable
- final case class Allow (methods: NonEmptyList[Method]) extends Parsed with Product with Serializable
- final case class Authorization (credentials: Credentials) extends Parsed with Product with Serializable
- final case class Cache-Control (values: NonEmptyList[CacheDirective]) extends RecurringRenderable with Product with Serializable
- final case class Connection (values: NonEmptyList[CaseInsensitiveString]) extends Recurring with Product with Serializable
- final case class Content-Disposition (dispositionType: String, parameters: Map[String, String]) extends Parsed with Product with Serializable
- final case class Content-Encoding (contentCoding: ContentCoding) extends Parsed with Product with Serializable
-
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 ofBigInt
.- length
the length; throws an
IllegalArgumentException
if negative
- final case class Content-Range (unit: RangeUnit, range: SubRange, length: Option[Long]) extends Parsed with Product with Serializable
- final case class Content-Type (mediaType: MediaType, charset: Option[Charset]) extends Parsed with Product with Serializable
- final case class Cookie (values: NonEmptyList[http4s.Cookie]) extends RecurringRenderable with Product with Serializable
- final case class Date (date: Instant) extends Parsed with Product with Serializable
- final case class ETag (tag: EntityTag) extends Parsed with Product with Serializable
-
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
- final case class Host (host: String, port: Option[Int] = None) extends Parsed with Product with Serializable
- final case class If-Modified-Since (date: Instant) extends Parsed with Product with Serializable
- final case class If-None-Match (tags: Option[NonEmptyList[EntityTag]]) extends Parsed with Product with Serializable
- final case class Last-Event-Id (id: EventId) extends Parsed with Product with Serializable
- final case class Last-Modified (date: Instant) extends Parsed with Product with Serializable
- final case class Location (uri: Uri) extends Parsed with Product with Serializable
- final case class MediaRangeAndQValue (mediaRange: MediaRange, qValue: QValue = QValue.One) extends Renderable with Product with Serializable
- final case class Proxy-Authenticate (values: NonEmptyList[Challenge]) extends RecurringRenderable with Product with Serializable
- final case class Range (unit: RangeUnit, ranges: NonEmptyList[SubRange]) extends Parsed with Product with Serializable
- final case class Set-Cookie (cookie: http4s.Cookie) extends Parsed with Product with Serializable
- final case class Transfer-Encoding (values: NonEmptyList[TransferCoding]) extends RecurringRenderable with Product with Serializable
- final case class User-Agent (product: AgentProduct, other: Seq[AgentToken] = Seq.empty) extends Parsed with Product with Serializable
- final case class WWW-Authenticate (values: NonEmptyList[Challenge]) extends RecurringRenderable with Product with Serializable
- final case class X-B3-Flags (flags: Set[Flag]) extends Parsed with Product with Serializable
- final case class X-B3-ParentSpanId (id: Long) extends Parsed with Product with Serializable
- final case class X-B3-Sampled (sampled: Boolean) extends Parsed with Product with Serializable
- final case class X-B3-SpanId (id: Long) extends Parsed with Product with Serializable
- final case class X-B3-TraceId (id: Long) extends Parsed with Product with Serializable
- final case class X-Forwarded-For (values: NonEmptyList[Option[InetAddress]]) extends Recurring with Product with Serializable
Value Members
- object Accept extends Internal[Accept] with Recurring with Serializable
- object Accept-Charset extends Internal[Accept-Charset] with Recurring with Serializable
- object Accept-Encoding extends Internal[Accept-Encoding] with Recurring with Serializable
- object Accept-Language extends Internal[Accept-Language] with Recurring with Serializable
- object Accept-Patch extends Internal[Header] with Default
- object Accept-Ranges extends Internal[Accept-Ranges] with Singleton with Serializable
- object Access-Control-Allow-Credentials extends Internal[Header] with Default
- object Access-Control-Allow-Headers extends Internal[Header] with Default
- object Access-Control-Allow-Methods extends Internal[Header] with Default
- object Access-Control-Allow-Origin extends Internal[Header] with Default
- object Access-Control-Expose-Headers extends Internal[Header] with Default
- object Access-Control-Max-Age extends Internal[Header] with Default
- object Access-Control-Request-Headers extends Internal[Header] with Default
- object Access-Control-Request-Method extends Internal[Header] with Default
- object Age extends Internal[Header] with Default
- object Allow extends Internal[Allow] with Singleton with Serializable
- object Authorization extends Internal[Authorization] with Singleton with Serializable
- object Cache-Control extends Internal[Cache-Control] with Recurring with Serializable
- object Connection extends Internal[Connection] with Recurring with Serializable
- object Content-Base extends Internal[Header] with Default
- object Content-Disposition extends Internal[Content-Disposition] with Singleton with Serializable
- object Content-Encoding extends Internal[Content-Encoding] with Singleton with Serializable
- object Content-Language extends Internal[Header] with Default
- object Content-Length extends Internal[Content-Length] with Singleton with Serializable
- object Content-Location extends Internal[Header] with Default
- object Content-MD5 extends Internal[Header] with Default
- object Content-Range extends Internal[Content-Range] with Singleton with Serializable
-
object
Content-Security-Policy
extends Internal[Header] with Default
Defined by http://www.w3.org/TR/CSP/
- object Content-Transfer-Encoding extends Internal[Header] with Default
- object Content-Type extends Internal[Content-Type] with Singleton with Serializable
- object Cookie extends Internal[Cookie] with Recurring with Serializable
- object Date extends Internal[Date] with Singleton with Serializable
- object ETag extends Internal[ETag] with Singleton with Serializable
- object Expect extends Internal[Header] with Default
- object Expires extends Internal[Expires] with Singleton with Serializable
- object From extends Internal[Header] with Default
- object Front-End-Https extends Internal[Header] with Default
- object Host extends Internal[Host] with Singleton with Serializable
- object If-Match extends Internal[Header] with Default
- object If-Modified-Since extends Internal[If-Modified-Since] with Singleton with Serializable
- object If-None-Match extends Internal[If-None-Match] with Singleton with Serializable
- object If-Range extends Internal[Header] with Default
- object If-Unmodified-Since extends Internal[Header] with Default
- object Last-Event-Id extends Internal[Last-Event-Id] with Singleton with Serializable
- object Last-Modified extends Internal[Last-Modified] with Singleton with Serializable
- object Location extends Internal[Location] with Singleton with Serializable
- object Max-Forwards extends Internal[Header] with Default
- object MediaRangeAndQValue extends Serializable
- object Origin extends Internal[Header] with Default
- object Pragma extends Internal[Header] with Default
- object Proxy-Authenticate extends Internal[Proxy-Authenticate] with Recurring with Serializable
- object Proxy-Authentication extends Internal[Header] with Default
- object Proxy-Authorization extends Internal[Header] with Default
- object Range extends Internal[Range] with Singleton with Serializable
- object Referer extends Internal[Header] with Default
- object Retry-After extends Internal[Header] with Default
- object Sec-WebSocket-Accept extends Internal[Header] with Default
- object Sec-WebSocket-Key extends Internal[Header] with Default
- object Sec-WebSocket-Key1 extends Internal[Header] with Default
- object Sec-WebSocket-Key2 extends Internal[Header] with Default
- object Sec-WebSocket-Location extends Internal[Header] with Default
- object Sec-WebSocket-Origin extends Internal[Header] with Default
- object Sec-WebSocket-Protocol extends Internal[Header] with Default
- object Sec-WebSocket-Version extends Internal[Header] with Default
- object Server extends Internal[Header] with Default
- object Set-Cookie extends Internal[Set-Cookie] with Singleton with Serializable
-
object
Strict-Transport-Security
extends Internal[Header] with Default
Defined by http://tools.ietf.org/html/rfc6797
- object TE extends Internal[Header] with Default
- object Trailer extends Internal[Header] with Default
- object Transfer-Encoding extends Internal[Transfer-Encoding] with Recurring with Serializable
- object Upgrade extends Internal[Header] with Default
- object User-Agent extends Internal[User-Agent] with Singleton with Serializable
- object Vary extends Internal[Header] with Default
- object Via extends Internal[Header] with Default
- object WWW-Authenticate extends Internal[WWW-Authenticate] with Recurring with Serializable
- object Warning extends Internal[Header] with Default
- object WebSocket-Location extends Internal[Header] with Default
- object WebSocket-Origin extends Internal[Header] with Default
- object WebSocket-Protocol extends Internal[Header] with Default
- object X-B3-Flags extends Internal[X-B3-Flags] with Singleton with Serializable
- object X-B3-ParentSpanId extends Internal[X-B3-ParentSpanId] with Singleton with Serializable
- object X-B3-Sampled extends Internal[X-B3-Sampled] with Singleton with Serializable
- object X-B3-SpanId extends Internal[X-B3-SpanId] with Singleton with Serializable
- object X-B3-TraceId extends Internal[X-B3-TraceId] with Singleton with Serializable
- object X-Content-Type-Options extends Internal[Header] with Default
- object X-Forwarded-For extends Internal[X-Forwarded-For] with Recurring with Serializable
- object X-Forwarded-Proto extends Internal[Header] with Default
-
object
X-Frame-Options
extends Internal[Header] with Default
Defined by http://tools.ietf.org/html/rfc7034#section-2.1
- object X-Powered-By extends Internal[Header] with Default
- object X-Requested-With extends Internal[Header] with Default