trait
HandlerFactory[-In, +Out] extends (Any) ⇒ HandlerFactory[In, Out]
Abstract Value Members
-
abstract
def
makeHandler(): Handler[In, Out]
Concrete Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
+(other: String): String
-
def
->[B](y: B): (HandlerFactory[In, Out], B)
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
def
andThen[A](g: (HandlerFactory[In, Out]) ⇒ A): (Any) ⇒ A
-
def
apply(v1: Any): HandlerFactory[In, Out]
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
compose[A](g: (A) ⇒ Any): (A) ⇒ HandlerFactory[In, Out]
-
def
ensuring(cond: (HandlerFactory[In, Out]) ⇒ Boolean, msg: ⇒ Any): HandlerFactory[In, Out]
-
-
def
ensuring(cond: Boolean, msg: ⇒ Any): HandlerFactory[In, Out]
-
def
ensuring(cond: Boolean): HandlerFactory[In, Out]
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
def
formatted(fmtstr: String): String
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
→[B](y: B): (HandlerFactory[In, Out], B)
Shadowed Implicit Value Members
-
val
self: Any
-
val
self: Any
Inherited from AnyRef
Inherited from Any
Inherited by implicit conversion any2stringadd from
HandlerFactory[In, Out] to StringAdd
Inherited by implicit conversion any2stringfmt from
HandlerFactory[In, Out] to StringFormat
Base trait for Consumers and Parsers.
HandlerFactories must be able to create new Handler instances with no input provided.
For convenience, every HandlerFactory is also a function that returns itself. This is because
Splitter
'sthrough
method expects aContext => HandlerFactory
, but sometimes the actual context value does not matter. This allows you to callsomeSplitter.through(parser)
instead ofsomeSplitter.through(_ => parser)
The generated handler's input type
The generated handler's output type