Class

de.heikoseeberger.accessus.Accessus

HandlerOps

Related Doc: package Accessus

Permalink

implicit final class HandlerOps extends AnyVal

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HandlerOps
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HandlerOps(handler: Handler[Any])

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  6. val handler: Handler[Any]

    Permalink
  7. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  8. def toString(): String

    Permalink
    Definition Classes
    Any
  9. def withAccessLog[A, M](f: () ⇒ A)(accessLog: AccessLog[A, M]): Handler[M]

    Permalink

    Wraps the request-response handler in a new one which also streams sink for pairs of enriched request and response to the given access log sink.

    Wraps the request-response handler in a new one which also streams sink for pairs of enriched request and response to the given access log sink.

    f

    enrich the request, e.g. with a timestamp

    accessLog

    sink for pairs of enriched request and response

    returns

    handler to be used in Http().bindAndHandle wrapping the given handler

  10. def withAccessLog[M](accessLog: AccessLog[Long, M]): Handler[M]

    Permalink

    Wraps the request-response handler in a new one which also streams sink for pairs of request enriched with a timestamp and response to the given access log sink.

    Wraps the request-response handler in a new one which also streams sink for pairs of request enriched with a timestamp and response to the given access log sink.

    accessLog

    sink for pairs of enriched request and response

    returns

    handler to be used in Http().bindAndHandle wrapping the given handler

Inherited from AnyVal

Inherited from Any

Ungrouped