Class

io.dylemma.spac

AbstractHandlerFactory

Related Doc: package spac

Permalink

abstract class AbstractHandlerFactory[-In, +Out, R[+_], Mapped[-_, +_]] extends HandlerFactory[In, R[Out]]

Mixin for HandlerFactory that adds mapping operations

In

The generated handler's input type

Out

The generated handler's output type

R

A container type for output values, e.g. Try or types.Id

Mapped

Type constructor for mapped versions of this factory

Source
HandlerFactory.scala
Linear Supertypes
HandlerFactory[In, R[Out]], (Any) ⇒ HandlerFactory[In, R[Out]], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AbstractHandlerFactory
  2. HandlerFactory
  3. Function1
  4. AnyRef
  5. 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 AbstractHandlerFactory()(implicit arg0: Functor[R])

    Permalink

Abstract Value Members

  1. abstract def makeHandler(): Handler[In, R[Out]]

    Permalink
    Definition Classes
    HandlerFactory
  2. abstract def mapResult[B](f: (R[Out]) ⇒ R[B]): Mapped[In, B]

    Permalink

    Create a new handler factory whose result containers are transformed by the given function f.

    Create a new handler factory whose result containers are transformed by the given function f. For Consumers, which use Id as the result container type, mapResult is equivalent to map.

    B

    The mapped result type

    f

    The function applied to each result container

    returns

    a new HandlerFactory which derives its results by applying f to the result containers generated by this handler factory

Concrete Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from AbstractHandlerFactory[In, Out, R, Mapped] to any2stringadd[AbstractHandlerFactory[In, Out, R, Mapped]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (AbstractHandlerFactory[In, Out, R, Mapped], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from AbstractHandlerFactory[In, Out, R, Mapped] to ArrowAssoc[AbstractHandlerFactory[In, Out, R, Mapped]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def andThen[A](g: (HandlerFactory[In, R[Out]]) ⇒ A): (Any) ⇒ A

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  7. def apply(v1: Any): HandlerFactory[In, R[Out]]

    Permalink

    Always returns this, so that this can be passed to Splitter#through

    Always returns this, so that this can be passed to Splitter#through

    Definition Classes
    HandlerFactory → Function1
  8. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def compose[A](g: (A) ⇒ Any): (A) ⇒ HandlerFactory[In, R[Out]]

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  11. def ensuring(cond: (AbstractHandlerFactory[In, Out, R, Mapped]) ⇒ Boolean, msg: ⇒ Any): AbstractHandlerFactory[In, Out, R, Mapped]

    Permalink
    Implicit information
    This member is added by an implicit conversion from AbstractHandlerFactory[In, Out, R, Mapped] to Ensuring[AbstractHandlerFactory[In, Out, R, Mapped]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (AbstractHandlerFactory[In, Out, R, Mapped]) ⇒ Boolean): AbstractHandlerFactory[In, Out, R, Mapped]

    Permalink
    Implicit information
    This member is added by an implicit conversion from AbstractHandlerFactory[In, Out, R, Mapped] to Ensuring[AbstractHandlerFactory[In, Out, R, Mapped]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: ⇒ Any): AbstractHandlerFactory[In, Out, R, Mapped]

    Permalink
    Implicit information
    This member is added by an implicit conversion from AbstractHandlerFactory[In, Out, R, Mapped] to Ensuring[AbstractHandlerFactory[In, Out, R, Mapped]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): AbstractHandlerFactory[In, Out, R, Mapped]

    Permalink
    Implicit information
    This member is added by an implicit conversion from AbstractHandlerFactory[In, Out, R, Mapped] to Ensuring[AbstractHandlerFactory[In, Out, R, Mapped]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from AbstractHandlerFactory[In, Out, R, Mapped] to StringFormat[AbstractHandlerFactory[In, Out, R, Mapped]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  22. def map[B](f: (Out) ⇒ B): Mapped[In, B]

    Permalink

    Create a new handler factory whose results are transformed by the given function f.

    Create a new handler factory whose results are transformed by the given function f.

    B

    The mapped result type

    f

    The function to apply to each result

    returns

    A new handler factory which derives its results by applying f to the results generated by this handler factory

    See also

    syntax.FunctorSyntax.NestedFunctorOps#mapF for when Out is a container e.g. Option or List

  23. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def toString(): String

    Permalink
    Definition Classes
    Function1 → AnyRef → Any
  28. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. def [B](y: B): (AbstractHandlerFactory[In, Out, R, Mapped], B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from AbstractHandlerFactory[In, Out, R, Mapped] to ArrowAssoc[AbstractHandlerFactory[In, Out, R, Mapped]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from HandlerFactory[In, R[Out]]

Inherited from (Any) ⇒ HandlerFactory[In, R[Out]]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from AbstractHandlerFactory[In, Out, R, Mapped] to any2stringadd[AbstractHandlerFactory[In, Out, R, Mapped]]

Inherited by implicit conversion StringFormat from AbstractHandlerFactory[In, Out, R, Mapped] to StringFormat[AbstractHandlerFactory[In, Out, R, Mapped]]

Inherited by implicit conversion Ensuring from AbstractHandlerFactory[In, Out, R, Mapped] to Ensuring[AbstractHandlerFactory[In, Out, R, Mapped]]

Inherited by implicit conversion ArrowAssoc from AbstractHandlerFactory[In, Out, R, Mapped] to ArrowAssoc[AbstractHandlerFactory[In, Out, R, Mapped]]

Ungrouped