package headers
Type Members
- abstract class Accept extends scaladsl.model.HttpHeader
Model for the
Accept
header.Model for the
Accept
header. Specification: http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-26#section-5.3.2 - abstract class AcceptCharset extends scaladsl.model.HttpHeader
Model for the
Accept-Charset
header.Model for the
Accept-Charset
header. Specification: http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-26#section-5.3.3 - abstract class AcceptEncoding extends scaladsl.model.HttpHeader
Model for the
Accept-Encoding
header.Model for the
Accept-Encoding
header. Specification: http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-26#section-5.3.4 - abstract class AcceptLanguage extends scaladsl.model.HttpHeader
Model for the
Accept-Language
header.Model for the
Accept-Language
header. Specification: http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-26#section-5.3.5 - abstract class AcceptRanges extends scaladsl.model.HttpHeader
Model for the
Accept-Ranges
header.Model for the
Accept-Ranges
header. Specification: http://tools.ietf.org/html/draft-ietf-httpbis-p5-range-26#section-2.3 - abstract class AccessControlAllowCredentials extends scaladsl.model.HttpHeader
Model for the
Access-Control-Allow-Credentials
header.Model for the
Access-Control-Allow-Credentials
header. Specification: http://www.w3.org/TR/cors/#access-control-allow-credentials-response-header - abstract class AccessControlAllowHeaders extends scaladsl.model.HttpHeader
Model for the
Access-Control-Allow-Headers
header.Model for the
Access-Control-Allow-Headers
header. Specification: http://www.w3.org/TR/cors/#access-control-allow-headers-response-header - abstract class AccessControlAllowMethods extends scaladsl.model.HttpHeader
Model for the
Access-Control-Allow-Methods
header.Model for the
Access-Control-Allow-Methods
header. Specification: http://www.w3.org/TR/cors/#access-control-allow-methods-response-header - abstract class AccessControlAllowOrigin extends scaladsl.model.HttpHeader
Model for the
Access-Control-Allow-Origin
header.Model for the
Access-Control-Allow-Origin
header. Specification: http://www.w3.org/TR/cors/#access-control-allow-origin-response-header - abstract class AccessControlExposeHeaders extends scaladsl.model.HttpHeader
Model for the
Access-Control-Expose-Headers
header.Model for the
Access-Control-Expose-Headers
header. Specification: http://www.w3.org/TR/cors/#access-control-expose-headers-response-header - abstract class AccessControlMaxAge extends scaladsl.model.HttpHeader
Model for the
Access-Control-Max-Age
header.Model for the
Access-Control-Max-Age
header. Specification: http://www.w3.org/TR/cors/#access-control-max-age-response-header - abstract class AccessControlRequestHeaders extends scaladsl.model.HttpHeader
Model for the
Access-Control-Request-Headers
header.Model for the
Access-Control-Request-Headers
header. Specification: http://www.w3.org/TR/cors/#access-control-request-headers-request-header - abstract class AccessControlRequestMethod extends scaladsl.model.HttpHeader
Model for the
Access-Control-Request-Method
header.Model for the
Access-Control-Request-Method
header. Specification: http://www.w3.org/TR/cors/#access-control-request-method-request-header - abstract class Age extends scaladsl.model.HttpHeader
Model for the
Age
header.Model for the
Age
header. Specification: http://tools.ietf.org/html/rfc7234#section-5.1 - abstract class Allow extends scaladsl.model.HttpHeader
Model for the
Allow
header.Model for the
Allow
header. Specification: http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-26#section-7.4.1 - abstract class Authorization extends scaladsl.model.HttpHeader
Model for the
Authorization
header.Model for the
Authorization
header. Specification: http://tools.ietf.org/html/draft-ietf-httpbis-p7-auth-26#section-4.2 - abstract class BasicHttpCredentials extends scaladsl.model.headers.HttpCredentials
- abstract class ByteRange extends AnyRef
- abstract class CacheControl extends scaladsl.model.HttpHeader
Model for the
Cache-Control
header.Model for the
Cache-Control
header. Specification: http://tools.ietf.org/html/draft-ietf-httpbis-p6-cache-26#section-5.2 - trait CacheDirective extends AnyRef
- See also
CacheDirectives for convenience access to often used values.
- final class CacheDirectives extends AnyRef
- abstract class Connection extends scaladsl.model.HttpHeader
Model for the
Connection
header.Model for the
Connection
header. Specification: https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.10 - abstract class ContentDisposition extends scaladsl.model.HttpHeader
Model for the
Content-Disposition
header.Model for the
Content-Disposition
header. Specification: http://tools.ietf.org/html/rfc6266 - trait ContentDispositionType extends AnyRef
- See also
ContentDispositionTypes for convenience access to often used values.
- final class ContentDispositionTypes extends AnyRef
- abstract class ContentEncoding extends scaladsl.model.HttpHeader
Model for the
Content-Encoding
header.Model for the
Content-Encoding
header. Specification: http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-26#section-3.1.2.2 - abstract class ContentLength extends scaladsl.model.HttpHeader
Model for the
Content-Length
header.Model for the
Content-Length
header. Specification: https://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-26#section-3.3.2 - abstract class ContentLocation extends scaladsl.model.HttpHeader
Model for the
ContentLocation
header.Model for the
ContentLocation
header. Specification: https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html - abstract class ContentRange extends scaladsl.model.HttpHeader
Model for the
Content-Range
header.Model for the
Content-Range
header. Specification: http://tools.ietf.org/html/draft-ietf-httpbis-p5-range-26#section-4.2 - abstract class ContentType extends scaladsl.model.HttpHeader
Model for the
Content-Type
header.Model for the
Content-Type
header. Specification: http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-26#section-3.1.1.5 - abstract class Cookie extends scaladsl.model.HttpHeader
Model for the
Cookie
header.Model for the
Cookie
header. Specification: https://tools.ietf.org/html/rfc6265#section-4.2 - abstract class CustomHeader extends scaladsl.model.HttpHeader
The model of an HTTP header.
The model of an HTTP header. In its most basic form headers are simple name-value pairs. Header names are compared in a case-insensitive way.
Implement
ModeledCustomHeader
andModeledCustomHeaderFactory
instead ofCustomHeader
to be able to use the convenience methods that allow parsing the custom user-defined header fromorg.apache.pekko.http.javadsl.model.HttpHeader
. - abstract class Date extends scaladsl.model.HttpHeader
Model for the
Date
header.Model for the
Date
header. Specification: http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-26#section-7.1.1.2 - abstract class ETag extends scaladsl.model.HttpHeader
Model for the
ETag
header.Model for the
ETag
header. Specification: http://tools.ietf.org/html/draft-ietf-httpbis-p4-conditional-26#section-2.3 - abstract class EntityTag extends AnyRef
- abstract class EntityTagRange extends AnyRef
- See also
EntityTagRanges for convenience access to often used values.
- final class EntityTagRanges extends AnyRef
- abstract class Expires extends scaladsl.model.HttpHeader
Model for the
Expires
header.Model for the
Expires
header. Specification: http://tools.ietf.org/html/rfc7234#section-5.3 - abstract class Host extends scaladsl.model.HttpHeader
- abstract class HttpChallenge extends AnyRef
- abstract class HttpCookie extends AnyRef
- Annotations
- @DoNotInherit()
- abstract class HttpCookiePair extends AnyRef
Represents a cookie pair as used in the
Cookie
header as specified in http://tools.ietf.org/search/rfc6265#section-4.2.1 - abstract class HttpCredentials extends AnyRef
- abstract class HttpEncoding extends AnyRef
- abstract class HttpEncodingRange extends AnyRef
- See also
HttpEncodingRanges for convenience access to often used values.
- final class HttpEncodingRanges extends AnyRef
- final class HttpEncodings extends AnyRef
- abstract class HttpOrigin extends AnyRef
- abstract class HttpOriginRange extends AnyRef
- See also
HttpOriginRanges for convenience access to often used values.
- final class HttpOriginRanges extends AnyRef
- abstract class IfMatch extends scaladsl.model.HttpHeader
Model for the
If-Match
header.Model for the
If-Match
header. Specification: http://tools.ietf.org/html/draft-ietf-httpbis-p4-conditional-26#section-3.1 - abstract class IfModifiedSince extends scaladsl.model.HttpHeader
Model for the
If-Modified-Since
header.Model for the
If-Modified-Since
header. Specification: http://tools.ietf.org/html/draft-ietf-httpbis-p4-conditional-26#section-3.3 - abstract class IfNoneMatch extends scaladsl.model.HttpHeader
Model for the
If-None-Match
header.Model for the
If-None-Match
header. Specification: http://tools.ietf.org/html/draft-ietf-httpbis-p4-conditional-26#section-3.2 - abstract class IfUnmodifiedSince extends scaladsl.model.HttpHeader
Model for the
If-Unmodified-Since
header.Model for the
If-Unmodified-Since
header. Specification: http://tools.ietf.org/html/draft-ietf-httpbis-p4-conditional-26#section-3.4 - abstract class Language extends AnyRef
- trait LanguageRange extends AnyRef
- class LanguageRanges extends AnyRef
- abstract class LastEventId extends scaladsl.model.HttpHeader
The Last-Event-ID header is sent by a client to the server to signal the ID of the last sever-sent event received.
- abstract class LastModified extends scaladsl.model.HttpHeader
Model for the
Last-Modified
header.Model for the
Last-Modified
header. Specification: http://tools.ietf.org/html/draft-ietf-httpbis-p4-conditional-26#section-2.2 - abstract class Link extends scaladsl.model.HttpHeader
Model for the
Link
header.Model for the
Link
header. Specification: http://tools.ietf.org/html/rfc5988#section-5 - abstract class LinkParam extends AnyRef
- final class LinkParams extends AnyRef
- abstract class LinkValue extends AnyRef
- abstract class Location extends scaladsl.model.HttpHeader
Model for the
Location
header.Model for the
Location
header. Specification: http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-26#section-7.1.2 - abstract class ModeledCustomHeader 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
. ImplementModeledCustomHeader
andModeledCustomHeaderFactory
instead ofCustomHeader
to be able to use the convenience methods that allow parsing the custom user-defined header fromorg.apache.pekko.http.javadsl.model.HttpHeader
. - abstract class ModeledCustomHeaderFactory[H <: ModeledCustomHeader] extends AnyRef
Companion class for the
ModeledCustomHeader
class.Companion class for the
ModeledCustomHeader
class. It offers methods to createModeledCustomHeader
fromString
orHttpHeader
. - abstract class OAuth2BearerToken extends scaladsl.model.headers.HttpCredentials
- abstract class Origin extends scaladsl.model.HttpHeader
Model for the
Origin
header.Model for the
Origin
header. Specification: http://tools.ietf.org/html/rfc6454#section-7 - abstract class ProductVersion extends AnyRef
- abstract class ProxyAuthenticate extends scaladsl.model.HttpHeader
Model for the
Proxy-Authenticate
header.Model for the
Proxy-Authenticate
header. Specification: http://tools.ietf.org/html/draft-ietf-httpbis-p7-auth-26#section-4.3 - abstract class ProxyAuthorization extends scaladsl.model.HttpHeader
Model for the
Proxy-Authorization
header.Model for the
Proxy-Authorization
header. Specification: http://tools.ietf.org/html/draft-ietf-httpbis-p7-auth-26#section-4.4 - abstract class Range extends scaladsl.model.HttpHeader
Model for the
Range
header.Model for the
Range
header. Specification: http://tools.ietf.org/html/draft-ietf-httpbis-p5-range-26#section-3.1 - abstract class RangeUnit extends AnyRef
- final class RangeUnits extends AnyRef
- abstract class RawHeader extends scaladsl.model.HttpHeader
A header in its 'raw' name/value form, not parsed into a modelled header class.
A header in its 'raw' name/value form, not parsed into a modelled header class. To add a custom header type, implement
ModeledCustomHeader
andModeledCustomHeaderFactory
rather than extendingRawHeader
- Annotations
- @DoNotInherit()
- abstract class RawRequestURI extends scaladsl.model.HttpHeader
Model for the
Raw-Request-URI
header.Model for the
Raw-Request-URI
header. Custom header we use for transporting the raw request URI either to the application (server-side) or to the request rendering stage (client-side). - abstract class Referer extends scaladsl.model.HttpHeader
Model for the
Referer
header.Model for the
Referer
header. Specification: http://tools.ietf.org/html/rfc7231#section-5.5.2 - abstract class RetryAfter extends scaladsl.model.HttpHeader
Model for the
Retry-After
header.Model for the
Retry-After
header. Specification: //https://tools.ietf.org/html/rfc7231#section-7.1.3 - sealed abstract final class SameSite extends Enum[SameSite]
The Cookie SameSite attribute as defined by <a href="https://tools.ietf.org/html/draft-ietf-httpbis-cookie-same-site-00">RFC6265bis and <a href="https://tools.ietf.org/html/draft-west-cookie-incrementalism-00">Incrementally Better Cookies.
- abstract class SecWebSocketProtocol extends scaladsl.model.HttpHeader
Model for the
Sec-WebSocket-Protocol
header. - abstract class Server extends scaladsl.model.HttpHeader
Model for the
Server
header.Model for the
Server
header. Specification: http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-26#section-7.4.2 - abstract class SetCookie extends scaladsl.model.HttpHeader
Model for the
Set-Cookie
header.Model for the
Set-Cookie
header. Specification: https://tools.ietf.org/html/rfc6265 - abstract class StrictTransportSecurity extends scaladsl.model.HttpHeader
Model for the
Strict-Transport-Security
header.Model for the
Strict-Transport-Security
header. Specification: https://tools.ietf.org/html/rfc6797 - abstract class TE extends scaladsl.model.HttpHeader
Model for the
Transfer-Encoding
header.Model for the
Transfer-Encoding
header. Specification: http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-26#section-3.3.1 - abstract class TimeoutAccess extends scaladsl.model.HttpHeader
Model for the synthetic
Timeout-Access
header. - abstract class TlsSessionInfo extends CustomHeader
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
. - abstract class TransferEncoding extends scaladsl.model.HttpHeader
Model for the
Transfer-Encoding
header.Model for the
Transfer-Encoding
header. Specification: http://tools.ietf.org/html/draft-ietf-httpbis-p1-messaging-26#section-3.3.1 - abstract class UserAgent extends scaladsl.model.HttpHeader
Model for the
User-Agent
header.Model for the
User-Agent
header. Specification: http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-26#section-5.5.3 - abstract class WWWAuthenticate extends scaladsl.model.HttpHeader
Model for the
WWW-Authenticate
header.Model for the
WWW-Authenticate
header. Specification: http://tools.ietf.org/html/draft-ietf-httpbis-p7-auth-26#section-4.1 - abstract class XForwardedFor extends scaladsl.model.HttpHeader
Model for the
X-Forwarded-For
header.Model for the
X-Forwarded-For
header. Specification: http://en.wikipedia.org/wiki/X-Forwarded-For - abstract class XForwardedHost extends scaladsl.model.HttpHeader
Model for the
X-Forwarded-Host
header.Model for the
X-Forwarded-Host
header. Specification: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host - abstract class XForwardedProto extends scaladsl.model.HttpHeader
Model for the
X-Forwarded-Proto
header.Model for the
X-Forwarded-Proto
header. Specification: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Proto - abstract class XRealIp extends scaladsl.model.HttpHeader
Model for the
X-Real-Ip
header.
Deprecated Type Members
- abstract class RemoteAddress extends scaladsl.model.HttpHeader
Model for the
Remote-Address
header.Model for the
Remote-Address
header. Custom header we use for optionally transporting the peer's IP in an HTTP header.Deprecated since Akka HTTP 10.2.0: use the remote-header-attribute instead.
- Annotations
- @Deprecated
- Deprecated