object Matcher
- Source
- Matcher.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Matcher
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- case class Advance [F[_], A](m: Matcher[F, A]) extends Matcher[F, A] with Product with Serializable
- case class Bind [F[_], A, B](m: Matcher[F, A], f: (MatchResult[F, A]) ⇒ Matcher[F, B]) extends Matcher[F, B] with Product with Serializable
- case class Eval [F[_], A](f: F[A]) extends Matcher[F, A] with Product with Serializable
- case class Match [F[_], A](f: (HttpRequestHeader, Stream[F, Byte]) ⇒ MatchResult[F, A]) extends Matcher[F, A] with Product with Serializable
- implicit final class RequestMatcherHListSyntax [F[_], L <: HList] extends AnyVal
- implicit final class RequestMatcherSyntax [F[_], A] extends AnyVal
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
ofResult[F[_], A](result: MatchResult[F, A]): Matcher[F, A]
Matcher that always results in result supplied*
-
def
respond[F[_]](response: HttpResponse[F]): Matcher[F, Nothing]
matcher that always responds (fails) with supplied response *
-
def
respondWith(code: HttpStatusCode): Matcher[Nothing, Nothing]
matcher that always responds with supplied status code *
-
def
run[F[_], A](matcher: Matcher[F, A])(header: HttpRequestHeader, body: Stream[F, Byte])(implicit F: Suspendable[F]): F[MatchResult[F, A]]
Interprets matcher to obtain the result.
-
def
success[A](a: A): Matcher[Nothing, A]
matcher that always succeeds *
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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( ... )