object HttpHeaderParser extends SimpleHeaders with AcceptCharsetHeader with AcceptEncodingHeader with AcceptHeader with AcceptLanguageHeader with AuthorizationHeader with CacheControlHeader with ContentTypeHeader with CookieHeader with LinkHeader with LocationHeader with OriginHeader with ProxyAuthenticateHeader with RangeParser with RefererHeader with StrictTransportSecurityHeader with WwwAuthenticateHeader with ZipkinHeader
- Source
- HttpHeaderParser.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- HttpHeaderParser
- ZipkinHeader
- WwwAuthenticateHeader
- StrictTransportSecurityHeader
- RefererHeader
- RangeParser
- ProxyAuthenticateHeader
- OriginHeader
- LocationHeader
- LinkHeader
- CookieHeader
- ContentTypeHeader
- CacheControlHeader
- AuthorizationHeader
- AcceptLanguageHeader
- AcceptHeader
- AcceptEncodingHeader
- AcceptCharsetHeader
- SimpleHeaders
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- type HeaderParser = (String) ⇒ ParseResult[Parsed]
-
trait
RangeRule extends Parser with AdditionalRules
- Definition Classes
- RangeParser
Value Members
-
def
ACCEPT(value: String): ParseResult[Accept]
- Definition Classes
- AcceptHeader
-
def
ACCEPT_CHARSET(value: String): ParseResult[Accept-Charset]
- Definition Classes
- AcceptCharsetHeader
-
def
ACCEPT_ENCODING(value: String): ParseResult[Accept-Encoding]
- Definition Classes
- AcceptEncodingHeader
-
def
ACCEPT_LANGUAGE(value: String): ParseResult[Accept-Language]
- Definition Classes
- AcceptLanguageHeader
-
def
ACCEPT_RANGES(input: String): ParseResult[Accept-Ranges]
- Definition Classes
- RangeParser
-
def
AGE(value: String): ParseResult[Age]
- Definition Classes
- SimpleHeaders
-
def
ALLOW(value: String): ParseResult[Allow]
- Definition Classes
- SimpleHeaders
-
def
AUTHORIZATION(value: String): ParseResult[Authorization]
- Definition Classes
- AuthorizationHeader
-
def
CACHE_CONTROL(value: String): ParseResult[Cache-Control]
- Definition Classes
- CacheControlHeader
-
def
CONNECTION(value: String): ParseResult[Connection]
- Definition Classes
- SimpleHeaders
-
def
CONTENT_DISPOSITION(value: String): ParseResult[Content-Disposition]
- Definition Classes
- SimpleHeaders
-
def
CONTENT_ENCODING(value: String): ParseResult[Content-Encoding]
- Definition Classes
- SimpleHeaders
-
def
CONTENT_LENGTH(value: String): ParseResult[Content-Length]
- Definition Classes
- SimpleHeaders
-
def
CONTENT_RANGE(value: String): ParseResult[Content-Range]
- Definition Classes
- RangeParser
-
def
CONTENT_TYPE(value: String): ParseResult[Content-Type]
- Definition Classes
- ContentTypeHeader
-
def
COOKIE(value: String): ParseResult[Cookie]
- Definition Classes
- CookieHeader
-
def
DATE(value: String): ParseResult[Date]
- Definition Classes
- SimpleHeaders
-
def
ETAG(value: String): ParseResult[ETag]
- Definition Classes
- SimpleHeaders
-
def
EXPIRES(value: String): ParseResult[Expires]
- Definition Classes
- SimpleHeaders
-
def
HOST(value: String): ParseResult[Host]
- Definition Classes
- SimpleHeaders
-
def
IF_MATCH(value: String): ParseResult[If-Match]
- Definition Classes
- SimpleHeaders
-
def
IF_MODIFIED_SINCE(value: String): ParseResult[If-Modified-Since]
- Definition Classes
- SimpleHeaders
-
def
IF_NONE_MATCH(value: String): ParseResult[If-None-Match]
- Definition Classes
- SimpleHeaders
-
def
IF_UNMODIFIED_SINCE(value: String): ParseResult[If-Unmodified-Since]
- Definition Classes
- SimpleHeaders
-
def
LAST_EVENT_ID(value: String): ParseResult[Last-Event-Id]
- Definition Classes
- SimpleHeaders
-
def
LAST_MODIFIED(value: String): ParseResult[Last-Modified]
- Definition Classes
- SimpleHeaders
-
def
LINK(value: String): ParseResult[Link]
- Definition Classes
- LinkHeader
-
def
LOCATION(value: String): ParseResult[Location]
- Definition Classes
- LocationHeader
-
def
ORIGIN(value: String): ParseResult[Origin]
- Definition Classes
- OriginHeader
-
def
PROXY_AUTHENTICATE(value: String): ParseResult[Proxy-Authenticate]
- Definition Classes
- ProxyAuthenticateHeader
-
def
RANGE(value: String): ParseResult[Range]
- Definition Classes
- RangeParser
-
def
REFERER(value: String): ParseResult[Referer]
- Definition Classes
- RefererHeader
-
def
RETRY_AFTER(value: String): ParseResult[Retry-After]
- Definition Classes
- SimpleHeaders
-
def
SET_COOKIE(value: String): ParseResult[Set-Cookie]
- Definition Classes
- CookieHeader
-
def
STRICT_TRANSPORT_SECURITY(value: String): ParseResult[Strict-Transport-Security]
- Definition Classes
- StrictTransportSecurityHeader
-
def
TRANSFER_ENCODING(value: String): ParseResult[Transfer-Encoding]
- Definition Classes
- SimpleHeaders
-
def
USER_AGENT(value: String): ParseResult[User-Agent]
- Definition Classes
- SimpleHeaders
-
def
WWW_AUTHENTICATE(value: String): ParseResult[WWW-Authenticate]
- Definition Classes
- WwwAuthenticateHeader
-
def
X_B3_FLAGS(value: String): ParseResult[X-B3-Flags]
- Definition Classes
- ZipkinHeader
-
def
X_B3_PARENTSPANID(value: String): ParseResult[X-B3-ParentSpanId]
- Definition Classes
- ZipkinHeader
-
def
X_B3_SAMPLED(value: String): ParseResult[X-B3-Sampled]
- Definition Classes
- ZipkinHeader
-
def
X_B3_SPANID(value: String): ParseResult[X-B3-SpanId]
- Definition Classes
- ZipkinHeader
-
def
X_B3_TRACEID(value: String): ParseResult[X-B3-TraceId]
- Definition Classes
- ZipkinHeader
-
def
X_FORWARDED_FOR(value: String): ParseResult[X-Forwarded-For]
- Definition Classes
- SimpleHeaders
-
def
addParser(key: CaseInsensitiveString, parser: HeaderParser): Option[HeaderParser]
Add a parser to the global header parser registry
Add a parser to the global header parser registry
- key
name of the header to register the parser for
- parser
Header parser
- returns
any existing parser already registered to that key
-
def
dropParser(key: CaseInsensitiveString): Option[HeaderParser]
Remove the parser for the specified header key
Remove the parser for the specified header key
- key
name of the header to be removed
- returns
Some(parser)
if the parser exists, elseNone
-
def
idStringToLong(idString: String): Long
- Definition Classes
- ZipkinHeader
- def parseHeader(header: Raw): ParseResult[Header]
-
def
warmUp(): Unit
Warm up the header parsers by triggering the loading of most classes in this package, so as to increase the speed of the first usage.