Object

org.http4s.parser

HttpHeaderParser

Related Doc: package parser

Permalink

object HttpHeaderParser extends SimpleHeaders with AcceptHeader with AcceptLanguageHeader with CacheControlHeader with ContentTypeHeader with CookieHeader with AcceptCharsetHeader with AcceptEncodingHeader with AuthorizationHeader with RangeParser with LocationHeader with ProxyAuthenticateHeader with WwwAuthenticateHeader with ZipkinHeader

Source
HttpHeaderParser.scala
Linear Supertypes
ZipkinHeader, WwwAuthenticateHeader, ProxyAuthenticateHeader, LocationHeader, RangeParser, AuthorizationHeader, AcceptEncodingHeader, AcceptCharsetHeader, CookieHeader, ContentTypeHeader, CacheControlHeader, AcceptLanguageHeader, AcceptHeader, SimpleHeaders, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HttpHeaderParser
  2. ZipkinHeader
  3. WwwAuthenticateHeader
  4. ProxyAuthenticateHeader
  5. LocationHeader
  6. RangeParser
  7. AuthorizationHeader
  8. AcceptEncodingHeader
  9. AcceptCharsetHeader
  10. CookieHeader
  11. ContentTypeHeader
  12. CacheControlHeader
  13. AcceptLanguageHeader
  14. AcceptHeader
  15. SimpleHeaders
  16. AnyRef
  17. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type HeaderParser = (String) ⇒ ParseResult[Parsed]

    Permalink
  2. trait RangeRule extends Parser with AdditionalRules

    Permalink
    Definition Classes
    RangeParser

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def ACCEPT(value: String): ParseResult[Accept]

    Permalink
    Definition Classes
    AcceptHeader
  5. def ACCEPT_CHARSET(value: String): ParseResult[Accept-Charset]

    Permalink
    Definition Classes
    AcceptCharsetHeader
  6. def ACCEPT_ENCODING(value: String): ParseResult[Accept-Encoding]

    Permalink
    Definition Classes
    AcceptEncodingHeader
  7. def ACCEPT_LANGUAGE(value: String): ParseResult[Accept-Language]

    Permalink
    Definition Classes
    AcceptLanguageHeader
  8. def ACCEPT_RANGES(input: String): ParseResult[Accept-Ranges]

    Permalink
    Definition Classes
    RangeParser
  9. def ALLOW(value: String): ParseResult[Allow]

    Permalink
    Definition Classes
    SimpleHeaders
  10. def AUTHORIZATION(value: String): ParseResult[Authorization]

    Permalink
    Definition Classes
    AuthorizationHeader
  11. def CACHE_CONTROL(value: String): ParseResult[Cache-Control]

    Permalink
    Definition Classes
    CacheControlHeader
  12. def CONNECTION(value: String): ParseResult[Connection]

    Permalink
    Definition Classes
    SimpleHeaders
  13. def CONTENT_DISPOSITION(value: String): ParseResult[Content-Disposition]

    Permalink
    Definition Classes
    SimpleHeaders
  14. def CONTENT_ENCODING(value: String): ParseResult[Content-Encoding]

    Permalink
    Definition Classes
    SimpleHeaders
  15. def CONTENT_LENGTH(value: String): ParseResult[Content-Length]

    Permalink
    Definition Classes
    SimpleHeaders
  16. def CONTENT_RANGE(value: String): ParseResult[Content-Range]

    Permalink
    Definition Classes
    RangeParser
  17. def CONTENT_TYPE(value: String): ParseResult[Content-Type]

    Permalink
    Definition Classes
    ContentTypeHeader
  18. def COOKIE(value: String): ParseResult[headers.Cookie]

    Permalink
    Definition Classes
    CookieHeader
  19. def DATE(value: String): ParseResult[Date]

    Permalink
    Definition Classes
    SimpleHeaders
  20. def ETAG(value: String): ParseResult[ETag]

    Permalink
    Definition Classes
    SimpleHeaders
  21. def EXPIRES(value: String): ParseResult[Expires]

    Permalink
    Definition Classes
    SimpleHeaders
  22. def HOST(value: String): ParseResult[Host]

    Permalink
    Definition Classes
    SimpleHeaders
  23. def IF_MODIFIED_SINCE(value: String): ParseResult[If-Modified-Since]

    Permalink
    Definition Classes
    SimpleHeaders
  24. def IF_NONE_MATCH(value: String): ParseResult[If-None-Match]

    Permalink
    Definition Classes
    SimpleHeaders
  25. def LAST_EVENT_ID(value: String): ParseResult[Last-Event-Id]

    Permalink
    Definition Classes
    SimpleHeaders
  26. def LAST_MODIFIED(value: String): ParseResult[Last-Modified]

    Permalink
    Definition Classes
    SimpleHeaders
  27. def LOCATION(value: String): ParseResult[Location]

    Permalink
    Definition Classes
    LocationHeader
  28. def PROXY_AUTHENTICATE(value: String): ParseResult[Proxy-Authenticate]

    Permalink
    Definition Classes
    ProxyAuthenticateHeader
  29. def RANGE(value: String): ParseResult[Range]

    Permalink
    Definition Classes
    RangeParser
  30. def SET_COOKIE(value: String): ParseResult[Set-Cookie]

    Permalink
    Definition Classes
    CookieHeader
  31. def TRANSFER_ENCODING(value: String): ParseResult[Transfer-Encoding]

    Permalink
    Definition Classes
    SimpleHeaders
  32. def USER_AGENT(value: String): ParseResult[User-Agent]

    Permalink
    Definition Classes
    SimpleHeaders
  33. def WWW_AUTHENTICATE(value: String): ParseResult[WWW-Authenticate]

    Permalink
    Definition Classes
    WwwAuthenticateHeader
  34. def X_B3_FLAGS(value: String): ParseResult[X-B3-Flags]

    Permalink
    Definition Classes
    ZipkinHeader
  35. def X_B3_PARENTSPANID(value: String): ParseResult[X-B3-ParentSpanId]

    Permalink
    Definition Classes
    ZipkinHeader
  36. def X_B3_SAMPLED(value: String): ParseResult[X-B3-Sampled]

    Permalink
    Definition Classes
    ZipkinHeader
  37. def X_B3_SPANID(value: String): ParseResult[X-B3-SpanId]

    Permalink
    Definition Classes
    ZipkinHeader
  38. def X_B3_TRACEID(value: String): ParseResult[X-B3-TraceId]

    Permalink
    Definition Classes
    ZipkinHeader
  39. def X_FORWARDED_FOR(value: String): ParseResult[X-Forwarded-For]

    Permalink
    Definition Classes
    SimpleHeaders
  40. def addParser(key: CaseInsensitiveString, parser: HeaderParser): Option[HeaderParser]

    Permalink

    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

  41. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  42. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. def dropParser(key: CaseInsensitiveString): Option[HeaderParser]

    Permalink

    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

  44. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  45. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  46. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  47. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  48. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  49. def idStringToLong(idString: String): Long

    Permalink
    Definition Classes
    ZipkinHeader
  50. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  51. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  52. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  53. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  54. def parseHeader(header: Raw): ParseResult[Header]

    Permalink
  55. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  56. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  57. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  58. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  59. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  60. def warmUp(): Unit

    Permalink

    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 ProxyAuthenticateHeader

Inherited from LocationHeader

Inherited from RangeParser

Inherited from AuthorizationHeader

Inherited from AcceptEncodingHeader

Inherited from AcceptCharsetHeader

Inherited from CookieHeader

Inherited from ContentTypeHeader

Inherited from CacheControlHeader

Inherited from AcceptLanguageHeader

Inherited from AcceptHeader

Inherited from SimpleHeaders

Inherited from AnyRef

Inherited from Any

Ungrouped