Packages

o

org.http4s.parser

HttpHeaderParser

object HttpHeaderParser extends SimpleHeaders with AcceptCharsetHeader with AcceptEncodingHeader with AcceptHeader with AcceptLanguageHeader with AuthorizationHeader with CacheControlHeader with ContentLanguageHeader with ContentLocationHeader with ContentTypeHeader with CookieHeader with ForwardedHeader with LinkHeader with LocationHeader with OriginHeader with ProxyAuthenticateHeader with RangeParser with RefererHeader with StrictTransportSecurityHeader with WwwAuthenticateHeader with ZipkinHeader

Source
HttpHeaderParser.scala
Linear Supertypes
ZipkinHeader, WwwAuthenticateHeader, StrictTransportSecurityHeader, RefererHeader, RangeParser, ProxyAuthenticateHeader, OriginHeader, LocationHeader, LinkHeader, ForwardedHeader, CookieHeader, ContentTypeHeader, ContentLocationHeader, ContentLanguageHeader, CacheControlHeader, AuthorizationHeader, AcceptLanguageHeader, AcceptHeader, AcceptEncodingHeader, AcceptCharsetHeader, SimpleHeaders, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HttpHeaderParser
  2. ZipkinHeader
  3. WwwAuthenticateHeader
  4. StrictTransportSecurityHeader
  5. RefererHeader
  6. RangeParser
  7. ProxyAuthenticateHeader
  8. OriginHeader
  9. LocationHeader
  10. LinkHeader
  11. ForwardedHeader
  12. CookieHeader
  13. ContentTypeHeader
  14. ContentLocationHeader
  15. ContentLanguageHeader
  16. CacheControlHeader
  17. AuthorizationHeader
  18. AcceptLanguageHeader
  19. AcceptHeader
  20. AcceptEncodingHeader
  21. AcceptCharsetHeader
  22. SimpleHeaders
  23. AnyRef
  24. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type HeaderParser = (String) ⇒ ParseResult[Parsed]
  2. trait RangeRule extends Parser with AdditionalRules
    Definition Classes
    RangeParser

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def ACCEPT(value: String): ParseResult[Accept]
    Definition Classes
    AcceptHeader
  5. def ACCEPT_CHARSET(value: String): ParseResult[Accept-Charset]
    Definition Classes
    AcceptCharsetHeader
  6. def ACCEPT_ENCODING(value: String): ParseResult[Accept-Encoding]
    Definition Classes
    AcceptEncodingHeader
  7. def ACCEPT_LANGUAGE(value: String): ParseResult[Accept-Language]
    Definition Classes
    AcceptLanguageHeader
  8. def ACCEPT_PATCH(value: String): ParseResult[Accept-Patch]
    Definition Classes
    SimpleHeaders
  9. def ACCEPT_RANGES(input: String): ParseResult[Accept-Ranges]
    Definition Classes
    RangeParser
  10. def ACCESS_CONTROL_ALLOW_CREDENTIALS(value: String): ParseResult[Access-Control-Allow-Credentials]
    Definition Classes
    SimpleHeaders
  11. def ACCESS_CONTROL_ALLOW_HEADERS(value: String): ParseResult[Access-Control-Allow-Headers]
    Definition Classes
    SimpleHeaders
  12. def ACCESS_CONTROL_EXPOSE_HEADERS(value: String): ParseResult[Access-Control-Expose-Headers]
    Definition Classes
    SimpleHeaders
  13. def AGE(value: String): ParseResult[Age]
    Definition Classes
    SimpleHeaders
  14. def ALLOW(value: String): ParseResult[Allow]
    Definition Classes
    SimpleHeaders
  15. def AUTHORIZATION(value: String): ParseResult[Authorization]
    Definition Classes
    AuthorizationHeader
  16. def CACHE_CONTROL(value: String): ParseResult[Cache-Control]
    Definition Classes
    CacheControlHeader
  17. def CONNECTION(value: String): ParseResult[Connection]
    Definition Classes
    SimpleHeaders
  18. def CONTENT_DISPOSITION(value: String): ParseResult[Content-Disposition]
    Definition Classes
    SimpleHeaders
  19. def CONTENT_ENCODING(value: String): ParseResult[Content-Encoding]
    Definition Classes
    SimpleHeaders
  20. def CONTENT_LANGUAGE(value: String): ParseResult[Content-Language]
    Definition Classes
    ContentLanguageHeader
  21. def CONTENT_LENGTH(value: String): ParseResult[Content-Length]
    Definition Classes
    SimpleHeaders
  22. def CONTENT_LOCATION(value: String): ParseResult[Content-Location]
    Definition Classes
    ContentLocationHeader
  23. def CONTENT_RANGE(value: String): ParseResult[Content-Range]
    Definition Classes
    RangeParser
  24. def CONTENT_TYPE(value: String): ParseResult[Content-Type]
    Definition Classes
    ContentTypeHeader
  25. def COOKIE(value: String): ParseResult[Cookie]
    Definition Classes
    CookieHeader
  26. def DATE(value: String): ParseResult[Date]
    Definition Classes
    SimpleHeaders
  27. def ETAG(value: String): ParseResult[ETag]
    Definition Classes
    SimpleHeaders
  28. def EXPIRES(value: String): ParseResult[Expires]
    Definition Classes
    SimpleHeaders
  29. def FORWARDED(value: String): ParseResult[Forwarded]
    Definition Classes
    ForwardedHeader
  30. def HOST(value: String): ParseResult[Host]
    Definition Classes
    SimpleHeaders
  31. def IF_MATCH(value: String): ParseResult[If-Match]
    Definition Classes
    SimpleHeaders
  32. def IF_MODIFIED_SINCE(value: String): ParseResult[If-Modified-Since]
    Definition Classes
    SimpleHeaders
  33. def IF_NONE_MATCH(value: String): ParseResult[If-None-Match]
    Definition Classes
    SimpleHeaders
  34. def IF_UNMODIFIED_SINCE(value: String): ParseResult[If-Unmodified-Since]
    Definition Classes
    SimpleHeaders
  35. def LAST_EVENT_ID(value: String): ParseResult[Last-Event-Id]
    Definition Classes
    SimpleHeaders
  36. def LAST_MODIFIED(value: String): ParseResult[Last-Modified]
    Definition Classes
    SimpleHeaders
  37. def LINK(value: String): ParseResult[Link]
    Definition Classes
    LinkHeader
  38. def LOCATION(value: String): ParseResult[Location]
    Definition Classes
    LocationHeader
  39. def MAX_FORWARDS(value: String): ParseResult[Max-Forwards]
    Definition Classes
    SimpleHeaders
  40. def ORIGIN(value: String): ParseResult[Origin]
    Definition Classes
    OriginHeader
  41. def PROXY_AUTHENTICATE(value: String): ParseResult[Proxy-Authenticate]
    Definition Classes
    ProxyAuthenticateHeader
  42. def RANGE(value: String): ParseResult[Range]
    Definition Classes
    RangeParser
  43. def REFERER(value: String): ParseResult[Referer]
    Definition Classes
    RefererHeader
  44. def RETRY_AFTER(value: String): ParseResult[Retry-After]
    Definition Classes
    SimpleHeaders
  45. def SERVER(value: String): ParseResult[Server]
    Definition Classes
    SimpleHeaders
  46. def SET_COOKIE(value: String): ParseResult[Set-Cookie]
    Definition Classes
    CookieHeader
  47. def STRICT_TRANSPORT_SECURITY(value: String): ParseResult[Strict-Transport-Security]
    Definition Classes
    StrictTransportSecurityHeader
  48. def TRANSFER_ENCODING(value: String): ParseResult[Transfer-Encoding]
    Definition Classes
    SimpleHeaders
  49. def USER_AGENT(value: String): ParseResult[User-Agent]
    Definition Classes
    SimpleHeaders
  50. def WWW_AUTHENTICATE(value: String): ParseResult[WWW-Authenticate]
    Definition Classes
    WwwAuthenticateHeader
  51. def X_B3_FLAGS(value: String): ParseResult[X-B3-Flags]
    Definition Classes
    ZipkinHeader
  52. def X_B3_PARENTSPANID(value: String): ParseResult[X-B3-ParentSpanId]
    Definition Classes
    ZipkinHeader
  53. def X_B3_SAMPLED(value: String): ParseResult[X-B3-Sampled]
    Definition Classes
    ZipkinHeader
  54. def X_B3_SPANID(value: String): ParseResult[X-B3-SpanId]
    Definition Classes
    ZipkinHeader
  55. def X_B3_TRACEID(value: String): ParseResult[X-B3-TraceId]
    Definition Classes
    ZipkinHeader
  56. def X_FORWARDED_FOR(value: String): ParseResult[X-Forwarded-For]
    Definition Classes
    SimpleHeaders
  57. def addParser(key: CIString, 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

  58. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  59. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  60. def dropParser(key: CIString): 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, else None

  61. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  62. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  63. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  64. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  65. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  66. def idStringToLong(idString: String): Long
    Definition Classes
    ZipkinHeader
  67. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  68. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  69. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  70. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  71. def parseHeader(header: Raw): ParseResult[Header]
  72. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  73. def toString(): String
    Definition Classes
    AnyRef → Any
  74. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  75. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  76. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  77. 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.

Inherited from ZipkinHeader

Inherited from WwwAuthenticateHeader

Inherited from StrictTransportSecurityHeader

Inherited from RefererHeader

Inherited from RangeParser

Inherited from ProxyAuthenticateHeader

Inherited from OriginHeader

Inherited from LocationHeader

Inherited from LinkHeader

Inherited from ForwardedHeader

Inherited from CookieHeader

Inherited from ContentTypeHeader

Inherited from ContentLocationHeader

Inherited from ContentLanguageHeader

Inherited from CacheControlHeader

Inherited from AuthorizationHeader

Inherited from AcceptLanguageHeader

Inherited from AcceptHeader

Inherited from AcceptEncodingHeader

Inherited from AcceptCharsetHeader

Inherited from SimpleHeaders

Inherited from AnyRef

Inherited from Any

Ungrouped