package headers
- Alphabetic
- Public
- Protected
Type Members
- final case class Accept(mediaRanges: Seq[MediaRange]) extends javadsl.model.headers.Accept with RequestHeader with Product with Serializable
- final case class Accept-Charset(charsetRanges: Seq[HttpCharsetRange]) extends AcceptCharset with RequestHeader with Product with Serializable
- final case class Accept-Encoding(encodings: Seq[HttpEncodingRange]) extends AcceptEncoding with RequestHeader with Product with Serializable
- final case class Accept-Language(languages: Seq[LanguageRange]) extends AcceptLanguage with RequestHeader with Product with Serializable
- final case class Accept-Ranges(rangeUnits: Seq[RangeUnit]) extends AcceptRanges with ResponseHeader with Product with Serializable
- final case class Access-Control-Allow-Credentials(allow: Boolean) extends AccessControlAllowCredentials with ResponseHeader with Product with Serializable
- final case class Access-Control-Allow-Headers(headers: Seq[String]) extends AccessControlAllowHeaders with ResponseHeader with Product with Serializable
- final case class Access-Control-Allow-Methods(methods: Seq[HttpMethod]) extends AccessControlAllowMethods with ResponseHeader with Product with Serializable
- final case class Access-Control-Allow-Origin extends AccessControlAllowOrigin with ResponseHeader with Product with Serializable
- final case class Access-Control-Expose-Headers(headers: Seq[String]) extends AccessControlExposeHeaders with ResponseHeader with Product with Serializable
- final case class Access-Control-Max-Age(deltaSeconds: Long) extends AccessControlMaxAge with ResponseHeader with Product with Serializable
- final case class Access-Control-Request-Headers(headers: Seq[String]) extends AccessControlRequestHeaders with RequestHeader with Product with Serializable
- final case class Access-Control-Request-Method(method: HttpMethod) extends AccessControlRequestMethod with RequestHeader with Product with Serializable
- final case class Age(deltaSeconds: Long) extends javadsl.model.headers.Age with ResponseHeader with Product with Serializable
- final case class Allow(methods: Seq[HttpMethod]) extends javadsl.model.headers.Allow with ResponseHeader with Product with Serializable
- final case class Authorization(credentials: HttpCredentials) extends javadsl.model.headers.Authorization with RequestHeader with SensitiveHttpHeader with Product with Serializable
- final case class BasicHttpCredentials(username: String, password: String) extends javadsl.model.headers.BasicHttpCredentials with Product with Serializable
- sealed abstract class ByteRange extends javadsl.model.headers.ByteRange with ValueRenderable
- final case class Cache-Control(directives: Seq[CacheDirective]) extends CacheControl with RequestResponseHeader with Product with Serializable
- sealed trait CacheDirective extends Renderable with javadsl.model.headers.CacheDirective
- final case class Connection(tokens: Seq[String]) extends javadsl.model.headers.Connection with RequestResponseHeader with Product with Serializable
- final case class Content-Disposition(dispositionType: ContentDispositionType, params: Map[String, String] = Map.empty) extends ContentDisposition with RequestResponseHeader with Product with Serializable
- final case class Content-Encoding(encodings: Seq[HttpEncoding]) extends ContentEncoding with RequestResponseHeader with Product with Serializable
- final case class Content-Length extends ContentLength with RequestResponseHeader with Product with Serializable
Instances of this class will only be created transiently during header parsing and will never appear in HttpMessage.header.
Instances of this class will only be created transiently during header parsing and will never appear in HttpMessage.header. To access the Content-Length, see subclasses of HttpEntity.
- final case class Content-Location(uri: Uri) extends ContentLocation with ResponseHeader with Product with Serializable
- final case class Content-Range(rangeUnit: RangeUnit, contentRange: ContentRange) extends javadsl.model.headers.ContentRange with RequestResponseHeader with Product with Serializable
- final case class Content-Type extends javadsl.model.headers.ContentType with RequestResponseHeader with Product with Serializable
Instances of this class will only be created transiently during header parsing and will never appear in HttpMessage.header.
Instances of this class will only be created transiently during header parsing and will never appear in HttpMessage.header. To access the Content-Type, see subclasses of HttpEntity.
- sealed trait ContentDispositionType extends Renderable with javadsl.model.headers.ContentDispositionType
- final case class Cookie(cookies: Seq[HttpCookiePair]) extends javadsl.model.headers.Cookie with RequestHeader with SensitiveHttpHeader with Product with Serializable
- abstract class CustomHeader extends javadsl.model.headers.CustomHeader
Superclass for user-defined custom headers defined by implementing
name
andvalue
.Superclass for user-defined custom headers defined by implementing
name
andvalue
.Prefer to extend ModeledCustomHeader and ModeledCustomHeaderCompanion instead if planning to use the defined header in match clauses (e.g. in the routing layer of Pekko HTTP), as they allow the custom header to be matched from RawHeader and vice-versa.
- final case class Date(date: DateTime) extends javadsl.model.headers.Date with RequestResponseHeader with Product with Serializable
- final case class ETag(etag: EntityTag) extends javadsl.model.headers.ETag with ResponseHeader with Product with Serializable
- final case class EntityTag(tag: String, weak: Boolean = false) extends javadsl.model.headers.EntityTag with ValueRenderable with Product with Serializable
- sealed abstract class EntityTagRange extends javadsl.model.headers.EntityTagRange with ValueRenderable
- sealed abstract case class Expect extends HttpHeader with RequestHeader with Product with Serializable
- final case class Expires(date: DateTime) extends javadsl.model.headers.Expires with ResponseHeader with Product with Serializable
- final case class GenericHttpCredentials(scheme: String, token: String, params: Map[String, String] = Map.empty) extends HttpCredentials with Product with Serializable
- final case class Host(host: Uri.Host, port: Int = 0) extends javadsl.model.headers.Host with RequestHeader with SensitiveHttpHeader with Product with Serializable
- final case class HttpChallenge(scheme: String, realm: String, params: Map[String, String] = Map.empty) extends javadsl.model.headers.HttpChallenge with ValueRenderable with Product with Serializable
Note: the token of challenge is stored in the params Map as a parameter whose name is empty String("") for binary compatibility, but it will be parsed and rendered correctly.
- final class HttpCookie extends javadsl.model.headers.HttpCookie with ToStringRenderable with Product with Serializable with Equals
for a full definition of the http cookie header fields, see http://tools.ietf.org/html/rfc6265
- sealed abstract case class HttpCookiePair extends javadsl.model.headers.HttpCookiePair with ToStringRenderable with Product with Serializable
for a full definition of the http cookie header fields, see http://tools.ietf.org/html/rfc6265 This class is sealed abstract to prevent generation of default apply method in companion
- abstract class HttpCredentials extends javadsl.model.headers.HttpCredentials with ValueRenderable
- final case class HttpEncoding extends javadsl.model.headers.HttpEncoding with LazyValueBytesRenderable with WithQValue[HttpEncodingRange] with Product with Serializable
- sealed abstract class HttpEncodingRange extends javadsl.model.headers.HttpEncodingRange with ValueRenderable with WithQValue[HttpEncodingRange]
- final case class HttpOrigin(scheme: String, host: Host) extends javadsl.model.headers.HttpOrigin with ValueRenderable with Product with Serializable
- abstract class HttpOriginRange extends javadsl.model.headers.HttpOriginRange with ValueRenderable
- final case class If-Match(m: EntityTagRange) extends IfMatch with RequestHeader with Product with Serializable
- final case class If-Modified-Since(date: DateTime) extends IfModifiedSince with RequestHeader with Product with Serializable
- final case class If-None-Match(m: EntityTagRange) extends IfNoneMatch with RequestHeader with Product with Serializable
- final case class If-Range(entityTagOrDateTime: Either[EntityTag, DateTime]) extends HttpHeader with RequestHeader with Product with Serializable
- final case class If-Unmodified-Since(date: DateTime) extends IfUnmodifiedSince with RequestHeader with Product with Serializable
- final case class IgnoredDirective(value: String) extends StrictTransportSecurityDirective with Product with Serializable
- final case class Language(primaryTag: String, subTags: Seq[String]) extends javadsl.model.headers.Language with ValueRenderable with WithQValue[LanguageRange] with Product with Serializable
- sealed trait LanguageRange extends javadsl.model.headers.LanguageRange with ValueRenderable with WithQValue[LanguageRange]
- final case class Last-Event-ID(id: String) extends LastEventId with RequestHeader with Product with Serializable
- final case class Last-Modified(date: DateTime) extends LastModified with ResponseHeader with Product with Serializable
- final case class Link(values: Seq[LinkValue]) extends javadsl.model.headers.Link with RequestResponseHeader with Product with Serializable
- sealed abstract class LinkParam extends javadsl.model.headers.LinkParam with ToStringRenderable
- final case class LinkValue(uri: Uri, params: Seq[LinkParam]) extends javadsl.model.headers.LinkValue with ValueRenderable with Product with Serializable
- final case class Location(uri: Uri) extends javadsl.model.headers.Location with ResponseHeader with Product with Serializable
- final case class MaxAge(value: Long) extends StrictTransportSecurityDirective with Product with Serializable
- sealed abstract class ModeledCompanion[T] extends Renderable
- abstract class ModeledCustomHeader[H <: ModeledCustomHeader[H]] extends CustomHeader
Support class for building user-defined custom headers defined by implementing
name
andvalue
.Support class for building user-defined custom headers defined by implementing
name
andvalue
. By implementing a ModeledCustomHeader instead of CustomHeader directly, all needed unapply methods are provided for this class, such that it can be pattern matched on from RawHeader and the other way around as well. - abstract class ModeledCustomHeaderCompanion[H <: ModeledCustomHeader[H]] extends AnyRef
To be extended by companion object of a custom header extending ModeledCustomHeader.
To be extended by companion object of a custom header extending ModeledCustomHeader. Implements necessary apply and unapply methods to make the such defined header feel "native".
- sealed trait ModeledHeader extends HttpHeader with Serializable
- final case class OAuth2BearerToken(token: String) extends javadsl.model.headers.OAuth2BearerToken with Product with Serializable
- final case class Origin(origins: Seq[HttpOrigin]) extends javadsl.model.headers.Origin with RequestHeader with SensitiveHttpHeader with Product with Serializable
- final case class ProductVersion(product: String = "", version: String = "", comment: String = "") extends javadsl.model.headers.ProductVersion with ValueRenderable with Product with Serializable
- final case class Proxy-Authenticate(challenges: Seq[HttpChallenge]) extends ProxyAuthenticate with ResponseHeader with Product with Serializable
- final case class Proxy-Authorization(credentials: HttpCredentials) extends ProxyAuthorization with RequestHeader with SensitiveHttpHeader with Product with Serializable
- final case class Range(rangeUnit: RangeUnit, ranges: Seq[ByteRange]) extends javadsl.model.headers.Range with RequestHeader with Product with Serializable
- sealed abstract class RangeUnit extends javadsl.model.headers.RangeUnit with ValueRenderable
- final case class Raw-Request-URI(uri: String) extends RawRequestURI with SyntheticHeader with Product with Serializable
- final case class RawHeader(name: String, value: String) extends javadsl.model.headers.RawHeader with Product with Serializable
- final case class Referer(uri: Uri) extends javadsl.model.headers.Referer with RequestHeader with SensitiveHttpHeader with Product with Serializable
- final case class Retry-After(delaySecondsOrDateTime: RetryAfterParameter) extends RetryAfter with ResponseHeader with Product with Serializable
- final case class RetryAfterDateTime(dateTime: DateTime) extends RetryAfterParameter with Product with Serializable
- final case class RetryAfterDuration(delayInSeconds: Long) extends RetryAfterParameter with Product with Serializable
- sealed abstract class RetryAfterParameter extends AnyRef
Defines different values admitted to define a `Retry-After` header.
Defines different values admitted to define a `Retry-After` header.
Spec: https://tools.ietf.org/html/rfc7231#section-7.1.3
- sealed trait SameSite extends Renderable
The Cookie SameSite attribute as defined by RFC6265bis and Incrementally Better Cookies.
- final case class Server(products: Seq[ProductVersion]) extends javadsl.model.headers.Server with ResponseHeader with Product with Serializable
- final case class Set-Cookie(cookie: HttpCookie) extends SetCookie with ResponseHeader with Product with Serializable
- final case class Strict-Transport-Security(maxAge: Long, includeSubDomains: Boolean = false) extends StrictTransportSecurity with ResponseHeader with Product with Serializable
- sealed abstract class StrictTransportSecurityDirective extends AnyRef
Not for user extension
Not for user extension
- Annotations
- @DoNotInherit()
- final case class TE(acceptableEncodings: Seq[TransferEncoding]) extends javadsl.model.headers.TE with RequestHeader with Product with Serializable
- final case class Timeout-Access(timeoutAccess: TimeoutAccess) extends javadsl.model.headers.TimeoutAccess with SyntheticHeader with Product with Serializable
- final case class Tls-Session-Info(session: SSLSession) extends TlsSessionInfo with SyntheticHeader with ScalaSessionAPI with Product with Serializable
- final case class Transfer-Encoding(encodings: Seq[TransferEncoding]) extends javadsl.model.headers.TransferEncoding with RequestResponseHeader with Product with Serializable
- final case class Upgrade(protocols: Seq[UpgradeProtocol]) extends HttpHeader with RequestResponseHeader with Product with Serializable
- final case class UpgradeProtocol(name: String, version: Option[String] = None) extends ValueRenderable with Product with Serializable
- final case class User-Agent(products: Seq[ProductVersion]) extends UserAgent with RequestHeader with Product with Serializable
- final case class WWW-Authenticate(challenges: Seq[HttpChallenge]) extends WWWAuthenticate with ResponseHeader with Product with Serializable
- final case class WebSocketExtension(name: String, params: Map[String, String] = Map.empty) extends ValueRenderable with Product with Serializable
A websocket extension as defined in http://tools.ietf.org/html/rfc6455#section-4.3
- final case class X-Forwarded-For(addresses: Seq[RemoteAddress]) extends XForwardedFor with RequestHeader with SensitiveHttpHeader with Product with Serializable
- final case class X-Forwarded-Host(host: Uri.Host) extends XForwardedHost with RequestHeader with SensitiveHttpHeader with Product with Serializable
De-facto standard as per https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host
De-facto standard as per https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host
- Annotations
- @ApiMayChange()
- final case class X-Forwarded-Proto(protocol: String) extends XForwardedProto with RequestHeader with Product with Serializable
de-facto standard as per https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Proto
de-facto standard as per https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Proto
- Annotations
- @ApiMayChange()
- final case class X-Real-Ip(address: RemoteAddress) extends XRealIp with RequestHeader with SensitiveHttpHeader with Product with Serializable
Deprecated Type Members
- final case class Remote-Address(address: RemoteAddress) extends javadsl.model.headers.RemoteAddress with SyntheticHeader with SensitiveHttpHeader with Product with Serializable
- Annotations
- @deprecated
- Deprecated
(Since version Akka HTTP 10.2.0) use remote-address-attribute instead
Value Members
- object Accept extends ModeledCompanion[Accept] with Serializable
- object Accept-Charset extends ModeledCompanion[Accept-Charset] with Serializable
- object Accept-Encoding extends ModeledCompanion[Accept-Encoding] with Serializable
- object Accept-Language extends ModeledCompanion[Accept-Language] with Serializable
- object Accept-Ranges extends ModeledCompanion[Accept-Ranges] with Serializable
- object Access-Control-Allow-Credentials extends ModeledCompanion[Access-Control-Allow-Credentials] with Serializable
- object Access-Control-Allow-Headers extends ModeledCompanion[Access-Control-Allow-Headers] with Serializable
- object Access-Control-Allow-Methods extends ModeledCompanion[Access-Control-Allow-Methods] with Serializable
- object Access-Control-Allow-Origin extends ModeledCompanion[Access-Control-Allow-Origin] with Serializable
- object Access-Control-Expose-Headers extends ModeledCompanion[Access-Control-Expose-Headers] with Serializable
- object Access-Control-Max-Age extends ModeledCompanion[Access-Control-Max-Age] with Serializable
- object Access-Control-Request-Headers extends ModeledCompanion[Access-Control-Request-Headers] with Serializable
- object Access-Control-Request-Method extends ModeledCompanion[Access-Control-Request-Method] with Serializable
- object Age extends ModeledCompanion[Age] with Serializable
- object Allow extends ModeledCompanion[Allow] with Serializable
- object Authorization extends ModeledCompanion[Authorization] with Serializable
- object BasicHttpCredentials extends Serializable
- object ByteRange
- object Cache-Control extends ModeledCompanion[Cache-Control] with Serializable
- object CacheDirective
- object CacheDirectives
- object Connection extends ModeledCompanion[Connection] with Serializable
- object Content-Disposition extends ModeledCompanion[Content-Disposition] with Serializable
Document https://tools.ietf.org/html/rfc6266 updates document https://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html .
Document https://tools.ietf.org/html/rfc6266 updates document https://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html . Between these two there is slight but important difference regarding how parameter values are formatted. In RFC6266 parameters values are without quotes and in RFC2616 they are quoted. Since common practice among http servers is to understand quoted values, we use older document as reference here. Extended (i.e. encoded) parameter values are not quoted, see ext-parameter - https://tools.ietf.org/html/rfc5987#section-3.2.1
Note: Pekko HTTP uses "filename" key to store filename and handles encoding/decoding automatically. To output customized ASCII fallback version of filename provide "filename*" for unicode and "filename" for ASCII.
- object Content-Encoding extends ModeledCompanion[Content-Encoding] with Serializable
- object Content-Length extends ModeledCompanion[Content-Length] with Serializable
- object Content-Location extends ModeledCompanion[Content-Location] with Serializable
- object Content-Range extends ModeledCompanion[Content-Range] with Serializable
- object Content-Type extends ModeledCompanion[Content-Type] with Serializable
- object ContentDispositionTypes
- object Cookie extends ModeledCompanion[Cookie] with Serializable
- object Date extends ModeledCompanion[Date] with Serializable
- object ETag extends ModeledCompanion[ETag] with Serializable
- object EntityTag extends Serializable
- object EntityTagRange
- object Expect extends ModeledCompanion[Expect] with Serializable
- object Expires extends ModeledCompanion[Expires] with Serializable
- object GenericHttpCredentials extends Serializable
- object Host extends ModeledCompanion[Host] with Serializable
- object HttpChallenge extends AbstractFunction3[String, String, Map[String, String], HttpChallenge] with Serializable
- object HttpChallenges
- object HttpCookie extends Serializable
- object HttpCookiePair extends Serializable
- object HttpEncoding extends Serializable
- object HttpEncodingRange
- object HttpEncodings extends ObjectRegistry[String, HttpEncoding]
- object HttpOrigin extends Serializable
- object HttpOriginRange
- object If-Match extends ModeledCompanion[If-Match] with Serializable
- object If-Modified-Since extends ModeledCompanion[If-Modified-Since] with Serializable
- object If-None-Match extends ModeledCompanion[If-None-Match] with Serializable
- object If-Range extends ModeledCompanion[If-Range] with Serializable
- object If-Unmodified-Since extends ModeledCompanion[If-Unmodified-Since] with Serializable
- case object IncludeSubDomains extends StrictTransportSecurityDirective with Product with Serializable
- object Language extends Serializable
- object LanguageRange
- object Last-Event-ID extends ModeledCompanion[Last-Event-ID] with Serializable
- object Last-Modified extends ModeledCompanion[Last-Modified] with Serializable
- object Link extends ModeledCompanion[Link] with Serializable
- object LinkParam
- object LinkParams
- object LinkValue extends Serializable
- object Location extends ModeledCompanion[Location] with Serializable
- object Origin extends ModeledCompanion[Origin] with Serializable
- object ProductVersion extends Serializable
- object Proxy-Authenticate extends ModeledCompanion[Proxy-Authenticate] with Serializable
- object Proxy-Authorization extends ModeledCompanion[Proxy-Authorization] with Serializable
- object Range extends ModeledCompanion[Range] with Serializable
- object RangeUnits
- object Raw-Request-URI extends ModeledCompanion[Raw-Request-URI] with Serializable
- object RawHeader extends Serializable
- object Referer extends ModeledCompanion[Referer] with Serializable
- object Retry-After extends ModeledCompanion[Retry-After] with Serializable
- object SameSite
- object Server extends ModeledCompanion[Server] with Serializable
- object Set-Cookie extends ModeledCompanion[Set-Cookie] with Serializable
- object Strict-Transport-Security extends ModeledCompanion[Strict-Transport-Security] with Serializable
- object TE extends ModeledCompanion[TE] with Serializable
- object Timeout-Access extends ModeledCompanion[Timeout-Access] with Serializable
- object Tls-Session-Info extends ModeledCompanion[Tls-Session-Info] with Serializable
Model for the synthetic
Tls-Session-Info
header which carries the SSLSession of the connection the message carrying this header was received with.Model for the synthetic
Tls-Session-Info
header which carries the SSLSession of the connection the message carrying this header was received with.This header will only be added if it enabled in the configuration by setting
pekko.http.[client|server].parsing.tls-session-info-header = on
- object Transfer-Encoding extends ModeledCompanion[Transfer-Encoding] with Serializable
- object Upgrade extends ModeledCompanion[Upgrade] with Serializable
- object User-Agent extends ModeledCompanion[User-Agent] with Serializable
- object WWW-Authenticate extends ModeledCompanion[WWW-Authenticate] with Serializable
- object X-Forwarded-For extends ModeledCompanion[X-Forwarded-For] with Serializable
- object X-Forwarded-Host extends ModeledCompanion[X-Forwarded-Host] with Serializable
- object X-Forwarded-Proto extends ModeledCompanion[X-Forwarded-Proto] with Serializable
- object X-Real-Ip extends ModeledCompanion[X-Real-Ip] with Serializable
Deprecated Value Members
- object Remote-Address extends ModeledCompanion[Remote-Address] with Serializable
- Annotations
- @deprecated
- Deprecated
(Since version Akka HTTP 10.2.0) use remote-address-attribute instead