case class Match[F[_], A](f: (HttpRequestHeader, Stream[F, Byte]) ⇒ MatchResult[F, A]) extends Matcher[F, A] with Product with Serializable
- Source
- Matcher.scala
- Alphabetic
- By Inheritance
- Match
- Serializable
- Serializable
- Product
- Equals
- Matcher
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Match(f: (HttpRequestHeader, Stream[F, Byte]) ⇒ MatchResult[F, A])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
*>[B](b: B): Matcher[F, B]
defined ad map { _ => b} *
defined ad map { _ => b} *
- Definition Classes
- Matcher
- def +(other: String): String
- def ->[B](y: B): (Match[F, A], B)
-
def
/[F0[_], Lub[_], B](other: Matcher[F0, B])(implicit L: Lub1[F, F0, Lub]): Matcher[Lub, B]
matches and consumes current path segment throwing away
A
*matches and consumes current path segment throwing away
A
*- Definition Classes
- Matcher
-
def
/>>=[F0[_], Lub[_], B](f: (A) ⇒ Matcher[F0, B])(implicit L: Lub1[F, F0, Lub]): Matcher[Lub, B]
defined as advance.flatMap(f) *
defined as advance.flatMap(f) *
- Definition Classes
- Matcher
-
def
</[F0[_], Lub[_], B](other: Matcher[F0, B])(implicit L: Lub1[F, F0, Lub]): Matcher[Lub, A]
matches and consumes current path segment throwing away
B
*matches and consumes current path segment throwing away
B
*- Definition Classes
- Matcher
-
def
<<[F0[_], Lub[_], B](fb: Matcher[F0, B])(implicit L: Lub1[F, F0, Lub]): Matcher[Lub, A]
defined as flatMap { a => fb map { _ => a} } *
defined as flatMap { a => fb map { _ => a} } *
- Definition Classes
- Matcher
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
>>[F0[_], Lub[_], B](fb: Matcher[F0, B])(implicit L: Lub1[F, F0, Lub]): Matcher[Lub, B]
defined as flatMap { _ => fb } *
defined as flatMap { _ => fb } *
- Definition Classes
- Matcher
-
def
>>=[F0[_], Lub[_], B](f: (A) ⇒ Matcher[F0, B])(implicit L: Lub1[F, F0, Lub]): Matcher[Lub, B]
allias for flatMap *
allias for flatMap *
- Definition Classes
- Matcher
-
def
?: Matcher[F, Option[A]]
matches this or yields to None *
matches this or yields to None *
- Definition Classes
- Matcher
-
def
advance: Matcher[F, A]
advances path by one segment, after this matches *
advances path by one segment, after this matches *
- Definition Classes
- Matcher
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def ensuring(cond: (Match[F, A]) ⇒ Boolean, msg: ⇒ Any): Match[F, A]
- def ensuring(cond: (Match[F, A]) ⇒ Boolean): Match[F, A]
- def ensuring(cond: Boolean, msg: ⇒ Any): Match[F, A]
- def ensuring(cond: Boolean): Match[F, A]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
evalMap[F0[_], Lub[_], B](f: (A) ⇒ F0[B])(implicit L: Lub1[F, F0, Lub]): Matcher[Lub, B]
like
map
but allows to evaluateF
*like
map
but allows to evaluateF
*- Definition Classes
- Matcher
- val f: (HttpRequestHeader, Stream[F, Byte]) ⇒ MatchResult[F, A]
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
flatMap[F0[_], Lub[_], B](f: (A) ⇒ Matcher[F0, B])(implicit L: Lub1[F, F0, Lub]): Matcher[Lub, B]
transforms this matcher to another matcher with supplied
f
*transforms this matcher to another matcher with supplied
f
*- Definition Classes
- Matcher
-
def
flatMapR[F0[_], Lub[_], B](f: (MatchResult[Lub, A]) ⇒ Matcher[F0, B])(implicit L: Lub1[F, F0, Lub]): Matcher[Lub, B]
like flatMap, but allows to apply
f
when match failed *like flatMap, but allows to apply
f
when match failed *- Definition Classes
- Matcher
- def formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
map[B](f: (A) ⇒ B): Matcher[F, B]
transforms this matcher with supplied
f
*transforms this matcher with supplied
f
*- Definition Classes
- Matcher
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
or[F0[_], Lub[_], A0 >: A](alt: ⇒ Matcher[F0, A0])(implicit R: RealSupertype[A, A0], L: Lub1[F, F0, Lub]): Matcher[Lub, A0]
matches this or alternative *
matches this or alternative *
- Definition Classes
- Matcher
-
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]
applies
f
only when matcher fails to match *applies
f
only when matcher fails to match *- Definition Classes
- Matcher
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def →[B](y: B): (Match[F, A], B)