Packages

c

spinoco.fs2.http.routing.Matcher

PureMatcherOps

implicit final class PureMatcherOps[F[_], A] extends AnyVal

Source
Matcher.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PureMatcherOps
  2. AnyVal
  3. 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 PureMatcherOps(self: Matcher[F, A])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from PureMatcherOps[F, A] to any2stringadd[PureMatcherOps[F, A]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (PureMatcherOps[F, A], B)
    Implicit
    This member is added by an implicit conversion from PureMatcherOps[F, A] to ArrowAssoc[PureMatcherOps[F, A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. def /[B](other: Matcher[F, B]): Matcher[F, B]

    matches and consumes current path segment throwing away A *

  6. def />>=[B](f: (A) ⇒ Matcher[F, B]): Matcher[F, B]

     defined as advance.flatMap(f) *

  7. def </[B](other: Matcher[F, B]): Matcher[F, A]

    matches and consumes current path segment throwing away B *

  8. def <<[B](fb: Matcher[F, B]): Matcher[F, A]

    defined as flatMap { a => fb map { _ => a} } *

  9. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  10. def >>[B](fb: Matcher[F, B]): Matcher[F, B]

    defined as flatMap { _ => fb } *

  11. def >>=[B](f: (A) ⇒ Matcher[F, B]): Matcher[F, B]

    allias for flatMap *

  12. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  13. def covary[F0[_] >: F[_]]: Matcher[F0, A]
  14. def ensuring(cond: (PureMatcherOps[F, A]) ⇒ Boolean, msg: ⇒ Any): PureMatcherOps[F, A]
    Implicit
    This member is added by an implicit conversion from PureMatcherOps[F, A] to Ensuring[PureMatcherOps[F, A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: (PureMatcherOps[F, A]) ⇒ Boolean): PureMatcherOps[F, A]
    Implicit
    This member is added by an implicit conversion from PureMatcherOps[F, A] to Ensuring[PureMatcherOps[F, A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean, msg: ⇒ Any): PureMatcherOps[F, A]
    Implicit
    This member is added by an implicit conversion from PureMatcherOps[F, A] to Ensuring[PureMatcherOps[F, A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean): PureMatcherOps[F, A]
    Implicit
    This member is added by an implicit conversion from PureMatcherOps[F, A] to Ensuring[PureMatcherOps[F, A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def evalMap[B](f: (A) ⇒ F[B]): Matcher[F, B]

    like map but allows to evaluate F *

  19. def flatMap[B](f: (A) ⇒ Matcher[F, B]): Matcher[F, B]

    transforms this matcher to another matcher with supplied f *

  20. def flatMapR[B](f: (MatchResult[F, A]) ⇒ Matcher[F, B]): Matcher[F, B]

    like flatMap, but allows to apply f when match failed *

  21. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def or[A0 >: A](alt: ⇒ Matcher[F, A0]): Matcher[F, A0]

    matches this or alternative *

  24. def recover(f: (HttpResponse[F]) ⇒ Matcher[F, A]): Matcher[F, A]

    applies f only when matcher fails to match *

  25. val self: Matcher[F, A]
  26. def toString(): String
    Definition Classes
    Any
  27. def [B](y: B): (PureMatcherOps[F, A], B)
    Implicit
    This member is added by an implicit conversion from PureMatcherOps[F, A] to ArrowAssoc[PureMatcherOps[F, A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from PureMatcherOps[F, A] to StringFormat[PureMatcherOps[F, A]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

Inherited from AnyVal

Inherited from Any

Inherited by implicit conversion any2stringadd from PureMatcherOps[F, A] to any2stringadd[PureMatcherOps[F, A]]

Inherited by implicit conversion StringFormat from PureMatcherOps[F, A] to StringFormat[PureMatcherOps[F, A]]

Inherited by implicit conversion Ensuring from PureMatcherOps[F, A] to Ensuring[PureMatcherOps[F, A]]

Inherited by implicit conversion ArrowAssoc from PureMatcherOps[F, A] to ArrowAssoc[PureMatcherOps[F, A]]

Ungrouped