Class

spinoco.fs2.http.routing.Matcher

Match

Related Doc: package Matcher

Permalink

case class Match[F[_], A](f: (HttpRequestHeader, Stream[F, Byte]) ⇒ MatchResult[F, A]) extends Matcher[F, A] with Product with Serializable

Source
Matcher.scala
Linear Supertypes
Serializable, Serializable, Product, Equals, Matcher[F, A], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Match
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Matcher
  7. AnyRef
  8. 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 Match(f: (HttpRequestHeader, Stream[F, Byte]) ⇒ MatchResult[F, A])

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def *>[B](b: B): Matcher[F, B]

    Permalink

    defined ad map { _ => b} *

    defined ad map { _ => b} *

    Definition Classes
    Matcher
  4. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Match[F, A] to any2stringadd[Match[F, A]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  5. def ->[B](y: B): (Match[F, A], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Match[F, A] to ArrowAssoc[Match[F, A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. def /[F0[_], Lub[_], B](other: Matcher[F0, B])(implicit L: Lub1[F, F0, Lub]): Matcher[Lub, B]

    Permalink

    matches and consumes current path segment throwing away A *

    matches and consumes current path segment throwing away A *

    Definition Classes
    Matcher
  7. def />>=[F0[_], Lub[_], B](f: (A) ⇒ Matcher[F0, B])(implicit L: Lub1[F, F0, Lub]): Matcher[Lub, B]

    Permalink

     defined as advance.flatMap(f) *

     defined as advance.flatMap(f) *

    Definition Classes
    Matcher
  8. def </[F0[_], Lub[_], B](other: Matcher[F0, B])(implicit L: Lub1[F, F0, Lub]): Matcher[Lub, A]

    Permalink

    matches and consumes current path segment throwing away B *

    matches and consumes current path segment throwing away B *

    Definition Classes
    Matcher
  9. def <<[F0[_], Lub[_], B](fb: Matcher[F0, B])(implicit L: Lub1[F, F0, Lub]): Matcher[Lub, A]

    Permalink

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

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

    Definition Classes
    Matcher
  10. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def >>[F0[_], Lub[_], B](fb: Matcher[F0, B])(implicit L: Lub1[F, F0, Lub]): Matcher[Lub, B]

    Permalink

    defined as flatMap { _ => fb } *

    defined as flatMap { _ => fb } *

    Definition Classes
    Matcher
  12. def >>=[F0[_], Lub[_], B](f: (A) ⇒ Matcher[F0, B])(implicit L: Lub1[F, F0, Lub]): Matcher[Lub, B]

    Permalink

    allias for flatMap *

    allias for flatMap *

    Definition Classes
    Matcher
  13. def ?: Matcher[F, Option[A]]

    Permalink

    matches this or yields to None *

    matches this or yields to None *

    Definition Classes
    Matcher
  14. def advance: Matcher[F, A]

    Permalink

    advances path by one segment, after this matches *

    advances path by one segment, after this matches *

    Definition Classes
    Matcher
  15. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. def ensuring(cond: (Match[F, A]) ⇒ Boolean, msg: ⇒ Any): Match[F, A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Match[F, A] to Ensuring[Match[F, A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: (Match[F, A]) ⇒ Boolean): Match[F, A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Match[F, A] to Ensuring[Match[F, A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. def ensuring(cond: Boolean, msg: ⇒ Any): Match[F, A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Match[F, A] to Ensuring[Match[F, A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. def ensuring(cond: Boolean): Match[F, A]

    Permalink
    Implicit information
    This member is added by an implicit conversion from Match[F, A] to Ensuring[Match[F, A]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  21. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. def evalMap[F0[_], Lub[_], B](f: (A) ⇒ F0[B])(implicit L: Lub1[F, F0, Lub]): Matcher[Lub, B]

    Permalink

    like map but allows to evaluate F *

    like map but allows to evaluate F *

    Definition Classes
    Matcher
  23. val f: (HttpRequestHeader, Stream[F, Byte]) ⇒ MatchResult[F, A]

    Permalink
  24. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. def flatMap[F0[_], Lub[_], B](f: (A) ⇒ Matcher[F0, B])(implicit L: Lub1[F, F0, Lub]): Matcher[Lub, B]

    Permalink

    transforms this matcher to another matcher with supplied f *

    transforms this matcher to another matcher with supplied f *

    Definition Classes
    Matcher
  26. def flatMapR[F0[_], Lub[_], B](f: (MatchResult[Lub, A]) ⇒ Matcher[F0, B])(implicit L: Lub1[F, F0, Lub]): Matcher[Lub, B]

    Permalink

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

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

    Definition Classes
    Matcher
  27. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from Match[F, A] to StringFormat[Match[F, A]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  28. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  29. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  30. def map[B](f: (A) ⇒ B): Matcher[F, B]

    Permalink

    transforms this matcher with supplied f *

    transforms this matcher with supplied f *

    Definition Classes
    Matcher
  31. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  34. def or[F0[_], Lub[_], A0 >: A](alt: ⇒ Matcher[F0, A0])(implicit R: RealSupertype[A, A0], L: Lub1[F, F0, Lub]): Matcher[Lub, A0]

    Permalink

    matches this or alternative *

    matches this or alternative *

    Definition Classes
    Matcher
  35. def recover[F0[_], Lub[_], A0 >: A](f: (HttpResponse[Lub]) ⇒ Matcher[F0, A0])(implicit R: RealSupertype[A, A0], L: Lub1[F, F0, Lub]): Matcher[Lub, A0]

    Permalink

    applies f only when matcher fails to match *

    applies f only when matcher fails to match *

    Definition Classes
    Matcher
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  37. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. def [B](y: B): (Match[F, A], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Match[F, A] to ArrowAssoc[Match[F, A]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Matcher[F, A]

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped