Packages

c

org.http4s.parser

UriHeaderParser

abstract class UriHeaderParser[A <: Header] extends Http4sHeaderParser[A] with Rfc3986Parser

Source
UriHeaderParser.scala
Linear Supertypes
Rfc3986Parser, StringBuilding, IpParser, Http4sHeaderParser[A], AdditionalRules, Rfc2616BasicRules, Parser, RuleDSL, RuleDSLActions, RuleDSLCombinators, RuleDSLBasics, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UriHeaderParser
  2. Rfc3986Parser
  3. StringBuilding
  4. IpParser
  5. Http4sHeaderParser
  6. AdditionalRules
  7. Rfc2616BasicRules
  8. Parser
  9. RuleDSL
  10. RuleDSLActions
  11. RuleDSLCombinators
  12. RuleDSLBasics
  13. AnyRef
  14. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new UriHeaderParser(value: String)

Type Members

  1. sealed trait ActionOperator[I <: HList, O <: HList, Ops] extends AnyRef
    Definition Classes
    RuleDSLActions
  2. sealed trait CharRangeSupport extends AnyRef
    Definition Classes
    RuleDSLBasics
  3. sealed trait NTimes extends AnyRef
    Definition Classes
    RuleDSLCombinators
  4. class TracingBubbleException extends RuntimeException with NoStackTrace

    THIS IS NOT PUBLIC API and might become hidden in future.

    THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

    Definition Classes
    Parser
  5. trait WithSeparatedBy[I <: HList, O <: HList] extends AnyRef
    Definition Classes
    RuleDSLCombinators
  6. class __SubParserInput extends ParserInput
    Attributes
    protected
    Definition Classes
    Parser

Abstract Value Members

  1. abstract def fromUri(uri: Uri): A

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def &(r: Rule[_, _]): Rule0

    Runs its inner rule but resets the parser (cursor and value stack) afterwards, succeeds only if its inner rule succeeded.

    Runs its inner rule but resets the parser (cursor and value stack) afterwards, succeeds only if its inner rule succeeded.

    Definition Classes
    RuleDSLCombinators
    Annotations
    @compileTimeOnly( ... )
  4. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from UriHeaderParser[A] to any2stringadd[UriHeaderParser[A]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  5. def ->[B](y: B): (UriHeaderParser[A], B)
    Implicit
    This member is added by an implicit conversion from UriHeaderParser[A] to ArrowAssoc[UriHeaderParser[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. def ANY: Rule0

    Matches any character except EOI.

    Matches any character except EOI.

    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly( ... )
  8. def ASCTimeDate: Rule1[HttpDate]
    Definition Classes
    AdditionalRules
  9. def AbsoluteUri: Rule[HNil, ::[Uri, HNil]]
    Definition Classes
    Rfc3986Parser
  10. def Alpha: Rule[HNil, HNil]
    Definition Classes
    Rfc2616BasicRules
  11. def AlphaNum: Rule[HNil, HNil]
    Definition Classes
    Rfc2616BasicRules
  12. def Authority: Rule1[Authority]
    Definition Classes
    Rfc3986Parser
  13. def CRLF: Rule[HNil, HNil]
    Definition Classes
    Rfc2616BasicRules
  14. def CTL: Rule[HNil, HNil]
    Definition Classes
    Rfc2616BasicRules
  15. def CText: Rule[HNil, HNil]
    Definition Classes
    Rfc2616BasicRules
  16. def Char: Rule[HNil, HNil]
    Definition Classes
    Rfc2616BasicRules
  17. def Comment: Rule0
    Definition Classes
    Rfc2616BasicRules
  18. def DROP: (Any) ⇒ Unit
    Definition Classes
    Rfc2616BasicRules
  19. def Date1: RuleN[::[Int, ::[Int, ::[Int, HNil]]]]
    Definition Classes
    AdditionalRules
  20. def Date2: RuleN[::[Int, ::[Int, ::[Int, HNil]]]]
    Definition Classes
    AdditionalRules
  21. def Date3: Rule2[Int, Int]
    Definition Classes
    AdditionalRules
  22. def DecOctet: Rule[HNil, HNil]
    Definition Classes
    IpParser
  23. def Digit: Rule[HNil, HNil]
    Definition Classes
    Rfc2616BasicRules
  24. def Digit1: Rule1[Int]
    Definition Classes
    AdditionalRules
  25. def Digit2: Rule1[Int]
    Definition Classes
    AdditionalRules
  26. def Digit3: Rule1[Int]
    Definition Classes
    AdditionalRules
  27. def Digit4: Rule1[Int]
    Definition Classes
    AdditionalRules
  28. def Digits: Rule1[String]
    Definition Classes
    AdditionalRules
  29. def EOI: Char

    Matches the EOI (end-of-input) character.

    Matches the EOI (end-of-input) character.

    Definition Classes
    RuleDSLBasics
  30. def EOL: Rule0
    Definition Classes
    AdditionalRules
  31. def EntityTag: Rule1[EntityTag]
    Definition Classes
    AdditionalRules
  32. def Fragment: Rule[HNil, ::[String, HNil]]
    Definition Classes
    Rfc3986Parser
  33. def GenDelims: Rule[HNil, HNil]
    Definition Classes
    Rfc3986Parser
  34. def H16: Rule[HNil, HNil]
    Definition Classes
    IpParser
  35. def Hex: Rule[HNil, HNil]
    Definition Classes
    Rfc2616BasicRules
  36. def HierPart: Rule2[Option[Authority], Path]
    Definition Classes
    Rfc3986Parser
  37. def Host: Rule1[Host]
    Definition Classes
    Rfc3986Parser
  38. def HttpDate: Rule1[HttpDate]
    Definition Classes
    AdditionalRules
  39. def IpLiteral: Rule[HNil, ::[String, HNil]]
    Definition Classes
    Rfc3986Parser
  40. def IpV4Address: Rule[HNil, HNil]
    Definition Classes
    IpParser
  41. def IpV6Address: Rule0
    Definition Classes
    IpParser
  42. def IpVFuture: Rule[HNil, HNil]
    Definition Classes
    Rfc3986Parser
  43. def LASTCHAR: Rule1[Char]
    Definition Classes
    Rfc2616BasicRules
  44. def LS32: Rule[HNil, HNil]
    Definition Classes
    IpParser
  45. def LWS: Rule[HNil, HNil]
    Definition Classes
    Rfc2616BasicRules
  46. def ListSep: Rule[HNil, HNil]
    Definition Classes
    Rfc2616BasicRules
  47. def LoAlpha: Rule[HNil, HNil]
    Definition Classes
    Rfc2616BasicRules
  48. def MATCH: Rule0

    Matches no character (i.e.

    Matches no character (i.e. doesn't cause the parser to make any progress) but succeeds always (as a rule).

    Definition Classes
    RuleDSLBasics
  49. def MISMATCH[I <: HList, O <: HList]: Rule[I, O]

    A generic Rule that always fails.

    A generic Rule that always fails.

    Definition Classes
    RuleDSLBasics
  50. def MISMATCH0: Rule0

    A Rule0 that always fails.

    A Rule0 that always fails.

    Definition Classes
    RuleDSLBasics
  51. def Month: Rule1[Int]
    Definition Classes
    AdditionalRules
  52. def NegDigit1: Rule1[Int]
    Definition Classes
    AdditionalRules
  53. def Octet: Rule[HNil, HNil]
    Definition Classes
    Rfc2616BasicRules
  54. def OptWS: Rule[HNil, HNil]
    Definition Classes
    Rfc2616BasicRules
  55. def Parameter: Rule1[(String, String)]
    Definition Classes
    AdditionalRules
  56. def Path: Rule1[String]
    Definition Classes
    Rfc3986Parser
  57. def PathAbempty: Rule1[String]
    Definition Classes
    Rfc3986Parser
  58. def PathAbsolute: Rule1[String]
    Definition Classes
    Rfc3986Parser
  59. def PathEmpty: Rule1[String]
    Definition Classes
    Rfc3986Parser
  60. def PathNoscheme: Rule1[String]
    Definition Classes
    Rfc3986Parser
  61. def PathRootless: Rule1[String]
    Definition Classes
    Rfc3986Parser
  62. def Pchar: Rule[HNil, HNil]
    Definition Classes
    Rfc3986Parser
  63. def PctEncoded: Rule[HNil, HNil]
    Definition Classes
    Rfc3986Parser
  64. def Port: Rule[HNil, ::[Option[Int], HNil]]
    Definition Classes
    Rfc3986Parser
  65. def QDText: Rule1[Char]
    Definition Classes
    Rfc2616BasicRules
  66. def QValue: Rule1[QValue]
    Definition Classes
    AdditionalRules
  67. def Query: Rule[HNil, ::[String, HNil]]
    Definition Classes
    Rfc3986Parser
  68. def QuotedPair: Rule1[Char]
    Definition Classes
    Rfc2616BasicRules
  69. def QuotedString: Rule1[String]
    Definition Classes
    Rfc2616BasicRules
  70. def RFC1123Date: Rule1[HttpDate]
    Definition Classes
    AdditionalRules
  71. def RFC850Date: Rule1[HttpDate]
    Definition Classes
    AdditionalRules
  72. def RegName: Rule0
    Definition Classes
    Rfc3986Parser
  73. def RelativePart: Rule2[Option[Authority], Path]
    Definition Classes
    Rfc3986Parser
  74. def RelativeRef: Rule[HNil, ::[Uri, HNil]]
    Definition Classes
    Rfc3986Parser
  75. def Reserved: Rule[HNil, HNil]
    Definition Classes
    Rfc3986Parser
  76. def Scheme: Rule[HNil, ::[CaseInsensitiveString, HNil]]
    Definition Classes
    Rfc3986Parser
  77. def Segment: Rule[HNil, HNil]
    Definition Classes
    Rfc3986Parser
  78. def SegmentNz: Rule[HNil, HNil]
    Definition Classes
    Rfc3986Parser
  79. def SegmentNzNc: Rule[HNil, HNil]
    Definition Classes
    Rfc3986Parser
  80. def Separator: Rule[HNil, HNil]
    Definition Classes
    Rfc2616BasicRules
  81. def SubDelims: Rule[HNil, HNil]
    Definition Classes
    Rfc3986Parser
  82. def Text: Rule[HNil, HNil]
    Definition Classes
    Rfc2616BasicRules
  83. def Time: RuleN[::[Int, ::[Int, ::[Int, HNil]]]]
    Definition Classes
    AdditionalRules
  84. def Token: Rule1[String]
    Definition Classes
    Rfc2616BasicRules
  85. def Unreserved: Rule[HNil, HNil]
    Definition Classes
    Rfc3986Parser
  86. def UpAlpha: Rule[HNil, HNil]
    Definition Classes
    Rfc2616BasicRules
  87. def Uri: Rule1[Uri]
    Definition Classes
    Rfc3986Parser
  88. def UserInfo: Rule[HNil, ::[String, HNil]]
    Definition Classes
    Rfc3986Parser
  89. def Value: Rule[HNil, ::[String, HNil]]
    Definition Classes
    AdditionalRules
  90. def Weekday: Rule1[Int]
    Definition Classes
    AdditionalRules
  91. def Wkday: Rule1[Int]
    Definition Classes
    AdditionalRules
  92. def __advance(): Boolean

    THIS IS NOT PUBLIC API and might become hidden in future.

    THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

    Definition Classes
    Parser
  93. def __bubbleUp(prefix: List[NonTerminal], terminal: Terminal): Nothing

    THIS IS NOT PUBLIC API and might become hidden in future.

    THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

    Definition Classes
    Parser
  94. def __bubbleUp(terminal: Terminal): Nothing

    THIS IS NOT PUBLIC API and might become hidden in future.

    THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

    Definition Classes
    Parser
  95. def __enterAtomic(start: Int): Boolean

    THIS IS NOT PUBLIC API and might become hidden in future.

    THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

    Definition Classes
    Parser
  96. def __enterNotPredicate(): AnyRef

    THIS IS NOT PUBLIC API and might become hidden in future.

    THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

    Definition Classes
    Parser
  97. def __enterQuiet(): Int

    THIS IS NOT PUBLIC API and might become hidden in future.

    THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

    Definition Classes
    Parser
  98. def __exitAtomic(saved: Boolean): Unit

    THIS IS NOT PUBLIC API and might become hidden in future.

    THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

    Definition Classes
    Parser
  99. def __exitNotPredicate(saved: AnyRef): Unit

    THIS IS NOT PUBLIC API and might become hidden in future.

    THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

    Definition Classes
    Parser
  100. def __exitQuiet(saved: Int): Unit

    THIS IS NOT PUBLIC API and might become hidden in future.

    THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

    Definition Classes
    Parser
  101. def __hardFail(expected: String): Nothing

    THIS IS NOT PUBLIC API and might become hidden in future.

    THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

    Definition Classes
    Parser
  102. def __inErrorAnalysis: Boolean

    THIS IS NOT PUBLIC API and might become hidden in future.

    THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

    Definition Classes
    Parser
  103. final def __matchAnyOf(string: String, ix: Int = 0): Boolean

    THIS IS NOT PUBLIC API and might become hidden in future.

    THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

    Definition Classes
    Parser
    Annotations
    @tailrec()
  104. final def __matchIgnoreCaseString(string: String, ix: Int = 0): Boolean

    THIS IS NOT PUBLIC API and might become hidden in future.

    THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

    Definition Classes
    Parser
    Annotations
    @tailrec()
  105. final def __matchIgnoreCaseStringWrapped(string: String, ix: Int = 0): Boolean

    THIS IS NOT PUBLIC API and might become hidden in future.

    THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

    Definition Classes
    Parser
    Annotations
    @tailrec()
  106. def __matchMap(m: Map[String, Any]): Boolean

    THIS IS NOT PUBLIC API and might become hidden in future.

    THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

    Definition Classes
    Parser
  107. def __matchMapWrapped(m: Map[String, Any]): Boolean

    THIS IS NOT PUBLIC API and might become hidden in future.

    THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

    Definition Classes
    Parser
  108. final def __matchNoneOf(string: String, ix: Int = 0): Boolean

    THIS IS NOT PUBLIC API and might become hidden in future.

    THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

    Definition Classes
    Parser
    Annotations
    @tailrec()
  109. final def __matchString(string: String, ix: Int = 0): Boolean

    THIS IS NOT PUBLIC API and might become hidden in future.

    THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

    Definition Classes
    Parser
    Annotations
    @tailrec()
  110. final def __matchStringWrapped(string: String, ix: Int = 0): Boolean

    THIS IS NOT PUBLIC API and might become hidden in future.

    THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

    Definition Classes
    Parser
    Annotations
    @tailrec()
  111. def __push(value: Any): Boolean

    THIS IS NOT PUBLIC API and might become hidden in future.

    THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

    Definition Classes
    Parser
  112. def __registerMismatch(): Boolean

    THIS IS NOT PUBLIC API and might become hidden in future.

    THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

    Definition Classes
    Parser
  113. def __restoreState(mark: Mark): Unit

    THIS IS NOT PUBLIC API and might become hidden in future.

    THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

    Definition Classes
    Parser
  114. def __run[L <: HList](rule: ⇒ RuleN[L])(implicit scheme: DeliveryScheme[L]): Result

    THIS IS NOT PUBLIC API and might become hidden in future.

    THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

    Definition Classes
    Parser
  115. def __saveState: Mark

    THIS IS NOT PUBLIC API and might become hidden in future.

    THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

    Definition Classes
    Parser
  116. def __updateMaxCursor(): Boolean

    THIS IS NOT PUBLIC API and might become hidden in future.

    THIS IS NOT PUBLIC API and might become hidden in future. Use only if you know what you are doing!

    Definition Classes
    Parser
  117. def anyOf(chars: String): Rule0

    Matches any single one of the given characters.

    Matches any single one of the given characters.

    Note: This helper has O(n) runtime with n being the length of the given string. If your string consists only of 7-bit ASCII chars using a pre-allocated CharPredicate will be more efficient.

    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly( ... )
  118. def appendSB(s: String): Rule0
    Definition Classes
    StringBuilding
  119. def appendSB(c: Char): Rule0
    Definition Classes
    StringBuilding
  120. def appendSB(offset: Int): Rule0
    Definition Classes
    StringBuilding
  121. def appendSB(): Rule0
    Definition Classes
    StringBuilding
  122. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  123. def atomic[I <: HList, O <: HList](r: Rule[I, O]): Rule[I, O]

    Marks a rule as "undividable" from an error reporting perspective.

    Marks a rule as "undividable" from an error reporting perspective. The parser will never report errors *inside* of the marked rule. Rather, if the rule mismatches, the error will be reported at the very beginning of the attempted rule match.

    Definition Classes
    RuleDSLCombinators
    Annotations
    @compileTimeOnly( ... )
  124. def capture[I <: HList, O <: HList](r: Rule[I, O])(implicit p: Prepend[O, ::[String, HNil]]): Rule[I, Out]

    Pushes the input text matched by its inner rule onto the value stack after its inner rule has been run successfully (and only then).

    Pushes the input text matched by its inner rule onto the value stack after its inner rule has been run successfully (and only then).

    Definition Classes
    RuleDSLActions
    Annotations
    @compileTimeOnly( ... )
  125. implicit def ch(c: Char): Rule0

    Matches the given single character.

    Matches the given single character.

    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly( ... )
  126. def charAt(offset: Int): Char

    Returns the character at the input index with the given delta to the cursor.

    Returns the character at the input index with the given delta to the cursor. Note: for performance optimization this method does *not* do a range check, i.e. depending on the ParserInput implementation you might get an exception when calling this method before any character was matched by the parser.

    Definition Classes
    Parser
  127. def charAtRC(offset: Int): Char

    Same as charAt but range-checked.

    Same as charAt but range-checked. Returns the input character at the index with the given offset from the cursor. If this index is out of range the method returns EOI.

    Definition Classes
    Parser
  128. def charset: java.nio.charset.Charset
    Definition Classes
    UriHeaderParser → Rfc3986Parser
  129. def clearSB(): Rule0
    Definition Classes
    StringBuilding
  130. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  131. def copyStateFrom(other: Parser, offset: Int): Unit
    Definition Classes
    Parser
  132. def cursor: Int

    The index of the next (yet unmatched) input character.

    The index of the next (yet unmatched) input character. Might be equal to input.length!

    Definition Classes
    Parser
  133. def cursorChar: Char

    The next (yet unmatched) input character, i.e.

    The next (yet unmatched) input character, i.e. the one at the cursor index. Identical to if (cursor < input.length) input.charAt(cursor) else EOI but more efficient.

    Definition Classes
    Parser
  134. def drop[T](implicit h: HListable[T]): PopRule[Out]

    Drops one or more values from the top of the value stack.

    Drops one or more values from the top of the value stack. E.g. drop[Int] will drop the top Int value and drop[Int :: String :: HNil] will drop the top two values, which must be an Int underneath a String (the string being the top stack element).

    Definition Classes
    RuleDSLActions
    Annotations
    @compileTimeOnly( ... )
  135. def ensuring(cond: (UriHeaderParser[A]) ⇒ Boolean, msg: ⇒ Any): UriHeaderParser[A]
    Implicit
    This member is added by an implicit conversion from UriHeaderParser[A] to Ensuring[UriHeaderParser[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  136. def ensuring(cond: (UriHeaderParser[A]) ⇒ Boolean): UriHeaderParser[A]
    Implicit
    This member is added by an implicit conversion from UriHeaderParser[A] to Ensuring[UriHeaderParser[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  137. def ensuring(cond: Boolean, msg: ⇒ Any): UriHeaderParser[A]
    Implicit
    This member is added by an implicit conversion from UriHeaderParser[A] to Ensuring[UriHeaderParser[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  138. def ensuring(cond: Boolean): UriHeaderParser[A]
    Implicit
    This member is added by an implicit conversion from UriHeaderParser[A] to Ensuring[UriHeaderParser[A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  139. def entry: Rule1[A]
    Definition Classes
    UriHeaderParser → Http4sHeaderParser
  140. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  141. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  142. def errorTraceCollectionLimit: Int

    The maximum number of error traces that parser will collect in case of a parse error.

    The maximum number of error traces that parser will collect in case of a parse error. Override with a custom value if required. Set to zero to completely disable error trace collection (which will cause formatError to no be able to render any "expected" string!).

    Definition Classes
    Parser
  143. def fail(expected: String): Rule0

    A rule that always fails and causes the parser to immediately terminate the parsing run.

    A rule that always fails and causes the parser to immediately terminate the parsing run. The resulting parse error only has a single trace with a single frame which holds the given error message.

    Definition Classes
    RuleDSLBasics
  144. def failX[I <: HList, O <: HList](expected: String): Rule[I, O]

    Fully generic variant of fail.

    Fully generic variant of fail.

    Definition Classes
    RuleDSLBasics
  145. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  146. def formatError(error: ParseError, formatter: ErrorFormatter = new ErrorFormatter()): String

    Formats the given ParseError into a String using the given formatter instance.

    Formats the given ParseError into a String using the given formatter instance.

    Definition Classes
    Parser
  147. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from UriHeaderParser[A] to StringFormat[UriHeaderParser[A]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  148. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  149. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  150. def ignoreCase(s: String): Rule0

    Matches the given string of characters case insensitively.

    Matches the given string of characters case insensitively. Note: the given string must be specified in all lower-case! This requirement is currently NOT enforced!

    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly( ... )
  151. def ignoreCase(c: Char): Rule0

    Matches the given single character case insensitively.

    Matches the given single character case insensitively. Note: the given character must be specified in lower-case! This requirement is currently NOT enforced!

    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly( ... )
  152. val input: ParserInput
    Definition Classes
    Http4sHeaderParser → Parser
  153. implicit def int2NTimes(i: Int): NTimes
    Definition Classes
    RuleDSLCombinators
    Annotations
    @compileTimeOnly( ... )
  154. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  155. def lastChar: Char

    Returns the last character that was matched, i.e.

    Returns the last character that was matched, i.e. the one at index cursor - 1 Note: for performance optimization this method does *not* do a range check, i.e. depending on the ParserInput implementation you might get an exception when calling this method before any character was matched by the parser.

    Definition Classes
    Parser
  156. macro def namedRule[I <: HList, O <: HList](name: String)(r: Rule[I, O]): Rule[I, O]

    Converts a compile-time only rule definition into the corresponding rule method implementation with an explicitly given name.

    Converts a compile-time only rule definition into the corresponding rule method implementation with an explicitly given name.

    Definition Classes
    Parser
  157. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  158. def noneOf(chars: String): Rule0

    Matches any single character except the ones in the given string and except EOI.

    Matches any single character except the ones in the given string and except EOI.

    Note: This helper has O(n) runtime with n being the length of the given string. If your string consists only of 7-bit ASCII chars using a pre-allocated CharPredicate will be more efficient.

    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly( ... )
  159. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  160. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  161. def oneOrMore[I <: HList, O <: HList](r: Rule[I, O])(implicit l: Lifter[Seq, I, O]): Rule[In, StrictOut] with Repeated

    Runs its inner rule until it fails, succeeds if its inner rule succeeded at least once.

    Runs its inner rule until it fails, succeeds if its inner rule succeeded at least once. Resulting rule type is Rule0 if r == Rule0 Rule1[Seq[T]] if r == Rule1[T] Rule[I, O] if r == Rule[I, O <: I] // so called "reduction", which leaves the value stack unchanged on a type level

    Definition Classes
    RuleDSLCombinators
    Annotations
    @compileTimeOnly( ... )
  162. def optional[I <: HList, O <: HList](r: Rule[I, O])(implicit l: Lifter[Option, I, O]): Rule[In, OptionalOut]

    Runs its inner rule and succeeds even if the inner rule doesn't.

    Runs its inner rule and succeeds even if the inner rule doesn't. Resulting rule type is Rule0 if r == Rule0 Rule1[Option[T]] if r == Rule1[T] Rule[I, O] if r == Rule[I, O <: I] // so called "reduction", which leaves the value stack unchanged on a type level

    Definition Classes
    RuleDSLCombinators
    Annotations
    @compileTimeOnly( ... )
  163. def parse: ParseResult[A]
    Definition Classes
    Http4sHeaderParser
  164. implicit def predicate(p: CharPredicate): Rule0

    Matches any (single) character matched by the given CharPredicate.

    Matches any (single) character matched by the given CharPredicate.

    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly( ... )
  165. def prependSB(s: String): Rule0
    Definition Classes
    StringBuilding
  166. def prependSB(c: Char): Rule0
    Definition Classes
    StringBuilding
  167. def prependSB(offset: Int): Rule0
    Definition Classes
    StringBuilding
  168. def prependSB(): Rule0
    Definition Classes
    StringBuilding
  169. def push[T](value: T)(implicit h: HListable[T]): RuleN[Out]

    Pushes the given value onto the value stack.

    Pushes the given value onto the value stack. - if T is Unit nothing is pushed (i.e. push with a block/expression evaluating to Unit is identical to run) - if T <: HList all values of the HList is pushed as individual elements - otherwise a single value of type T is pushed.

    Definition Classes
    RuleDSLActions
    Annotations
    @compileTimeOnly( ... )
  170. def quiet[I <: HList, O <: HList](r: Rule[I, O]): Rule[I, O]

    Marks a rule as "quiet" from an error reporting perspective.

    Marks a rule as "quiet" from an error reporting perspective. Quiet rules only show up in error rule traces if no "unquiet" rules match up to the error location. This marker frequently used for low-level syntax rules (like whitespace or comments) that might be matched essentially everywhere and are therefore not helpful when appearing in the "expected" set of an error report.

    Definition Classes
    RuleDSLCombinators
    Annotations
    @compileTimeOnly( ... )
  171. implicit def range2NTimes(range: Range): NTimes
    Definition Classes
    RuleDSLCombinators
    Annotations
    @compileTimeOnly( ... )
  172. macro def rule[I <: HList, O <: HList](r: Rule[I, O]): Rule[I, O]

    Converts a compile-time only rule definition into the corresponding rule method implementation.

    Converts a compile-time only rule definition into the corresponding rule method implementation.

    Definition Classes
    Parser
  173. implicit def rule2ActionOperator[I <: HList, O <: HList](r: Rule[I, O])(implicit ops: ActionOps[I, O]): ActionOperator[I, O, Out]
    Definition Classes
    RuleDSLActions
    Annotations
    @compileTimeOnly( ... )
  174. implicit def rule2WithSeparatedBy[I <: HList, O <: HList](r: Rule[I, O] with Repeated): WithSeparatedBy[I, O]
    Definition Classes
    RuleDSLCombinators
    Annotations
    @compileTimeOnly( ... )
  175. def run[T](arg: T)(implicit rr: RunResult[T]): Out

    Runs the given block / expression / action function.

    Runs the given block / expression / action function. A run rule can have several shapes, depending on its argument type. If the arg evaluates to

    - a rule (i.e. has type R <: Rule[_, _]) the result type of run is this rule's type (i.e. R) and the produced rule is immediately executed.

    - a function with 1 to 5 parameters these parameters are mapped against the top of the value stack, popped and the function executed. Thereby the function behaves just like an action function for the ~> operator, i.e. if it produces a Unit value this result is simply dropped. HList results are pushed onto the value stack (all their elements individually), rule results are immediately executed and other result values are pushed onto the value stack as a single element.

    - a function with one HList parameter the behavior is similar to the previous case with the difference that the elements of this parameter HList are mapped against the value stack top. This allows for consumption of an arbitrary number of value stack elements. (Note: This feature of run is not yet currently implemented.)

    - any other value the result type of run is an always succeeding Rule0.

    NOTE: Even though the block is not a call-by-name parameter it will be executed for every rule application anew! (Since the expression is directly transplanted into the rule method by the rule macro.

    Definition Classes
    RuleDSLActions
    Annotations
    @compileTimeOnly( ... )
  176. def runSubParser[I <: HList, O <: HList](f: (ParserInput) ⇒ Rule[I, O]): Rule[I, O]

    Allows creation of a sub parser and running of one of its rules as part of the current parsing process.

    Allows creation of a sub parser and running of one of its rules as part of the current parsing process. The subparser will start parsing at the current input position and the outer parser (this parser) will continue where the sub-parser stopped.

    Definition Classes
    RuleDSLCombinators
    Annotations
    @compileTimeOnly( ... )
  177. val sb: StringBuilder
    Attributes
    protected
    Definition Classes
    StringBuilding
  178. def setSB(s: String): Rule0
    Definition Classes
    StringBuilding
  179. implicit def str(s: String): Rule0

    Matches the given string of characters.

    Matches the given string of characters.

    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly( ... )
  180. implicit def str2CharRangeSupport(s: String): CharRangeSupport
    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly( ... )
  181. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  182. def test(condition: Boolean): Rule0

    Implements a semantic predicate.

    Implements a semantic predicate. If the argument expression evaluates to true the created rule matches otherwise it doesn't.

    Definition Classes
    RuleDSLActions
    Annotations
    @compileTimeOnly( ... )
  183. def toString(): String
    Definition Classes
    AnyRef → Any
  184. implicit def valueMap[T](m: Map[String, T])(implicit h: HListable[T]): RuleN[Out]

    Matches any of the given maps keys and pushes the respective value upon a successful match.

    Matches any of the given maps keys and pushes the respective value upon a successful match.

    Definition Classes
    RuleDSLBasics
    Annotations
    @compileTimeOnly( ... )
  185. def valueStack: ValueStack

    Allows "raw" (i.e.

    Allows "raw" (i.e. untyped) access to the ValueStack. In most cases you shouldn't need to access the value stack directly from your code. Use only if you know what you are doing!

    Definition Classes
    Parser
  186. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  187. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  188. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  189. def zeroOrMore[I <: HList, O <: HList](r: Rule[I, O])(implicit l: Lifter[Seq, I, O]): Rule[In, OptionalOut] with Repeated

    Runs its inner rule until it fails, always succeeds.

    Runs its inner rule until it fails, always succeeds. Resulting rule type is Rule0 if r == Rule0 Rule1[Seq[T]] if r == Rule1[T] Rule[I, O] if r == Rule[I, O <: I] // so called "reduction", which leaves the value stack unchanged on a type level

    Definition Classes
    RuleDSLCombinators
    Annotations
    @compileTimeOnly( ... )
  190. def [B](y: B): (UriHeaderParser[A], B)
    Implicit
    This member is added by an implicit conversion from UriHeaderParser[A] to ArrowAssoc[UriHeaderParser[A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Rfc3986Parser

Inherited from StringBuilding

Inherited from IpParser

Inherited from Http4sHeaderParser[A]

Inherited from AdditionalRules

Inherited from Rfc2616BasicRules

Inherited from Parser

Inherited from RuleDSL

Inherited from RuleDSLActions

Inherited from RuleDSLCombinators

Inherited from RuleDSLBasics

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from UriHeaderParser[A] to any2stringadd[UriHeaderParser[A]]

Inherited by implicit conversion StringFormat from UriHeaderParser[A] to StringFormat[UriHeaderParser[A]]

Inherited by implicit conversion Ensuring from UriHeaderParser[A] to Ensuring[UriHeaderParser[A]]

Inherited by implicit conversion ArrowAssoc from UriHeaderParser[A] to ArrowAssoc[UriHeaderParser[A]]

Ungrouped