Object

io.fintrospect.formats.Circe

Filters

Related Doc: package Circe

Permalink

object Filters extends AutoFilters[Json]

Auto-marshalling filters that can be used to create Services which take and return domain objects instead of HTTP responses

Linear Supertypes
AutoFilters[Json], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Filters
  2. AutoFilters
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type ToBody[BODY] = () ⇒ Body[BODY]

    Permalink
    Definition Classes
    AutoFilters
  2. type ToResponse[OUT] = (OUT) ⇒ ResponseBuilder[_]

    Permalink
    Definition Classes
    AutoFilters

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def AutoIn[IN](body: Body[IN] with Mandatory[Request, IN]): Filter[Request, Response, IN, Response]

    Permalink
    Definition Classes
    AutoFilters
  5. def AutoInOptionalOut[BODY, OUT](svc: Service[BODY, Option[OUT]], successStatus: Status = Ok)(implicit db: Decoder[BODY], eb: Encoder[BODY], e: Encoder[OUT], example: BODY = null): Service[Request, Response]

    Permalink

    Wrap the enclosed service with auto-marshalling of input and output case class instances for HTTP POST scenarios that may return an object.

    Wrap the enclosed service with auto-marshalling of input and output case class instances for HTTP POST scenarios that may return an object. HTTP OK is returned by default in the auto-marshalled response (overridable), otherwise a 404 is returned

  6. def AutoInOut[BODY, OUT](svc: Service[BODY, OUT], successStatus: Status = Ok)(implicit db: Decoder[BODY], eb: Encoder[BODY], e: Encoder[OUT], example: BODY = null): Service[Request, Response]

    Permalink

    Wrap the enclosed service with auto-marshalling of input and output case class instances for HTTP POST scenarios that return an object.

    Wrap the enclosed service with auto-marshalling of input and output case class instances for HTTP POST scenarios that return an object. HTTP OK is returned by default in the auto-marshalled response (overridable).

  7. def AutoInOutFilter[BODY, OUT](successStatus: Status = Ok)(implicit db: Decoder[BODY], eb: Encoder[BODY], e: Encoder[OUT], example: BODY = null): Filter[Request, Response, BODY, OUT]

    Permalink

    Filter to provide auto-marshalling of case class instances for HTTP POST scenarios HTTP OK is returned by default in the auto-marshalled response (overridable).

  8. def AutoOptionalOut[IN, OUT](successStatus: Status = Ok)(implicit e: Encoder[OUT]): Filter[IN, Response, IN, Option[OUT]]

    Permalink

    Filter to provide auto-marshalling of case class instances for HTTP scenarios where an object may not be returned HTTP OK is returned by default in the auto-marshalled response (overridable), otherwise a 404 is returned

  9. def AutoOut[IN, OUT](successStatus: Status = Ok)(implicit e: Encoder[OUT]): Filter[IN, Response, IN, OUT]

    Permalink

    Filter to provide auto-marshalling of output case class instances for HTTP scenarios where an object is returned.

    Filter to provide auto-marshalling of output case class instances for HTTP scenarios where an object is returned. HTTP OK is returned by default in the auto-marshalled response (overridable).

  10. def _AutoInOptionalOut[BODY, OUT](svc: Service[BODY, Option[OUT]], body: Body[BODY] with Mandatory[Request, BODY], toResponse: ToResponse[OUT]): Service[Request, Response]

    Permalink
    Definition Classes
    AutoFilters
  11. def _AutoOptionalOut[IN, OUT](success: ToResponse[OUT]): Filter[IN, Response, IN, Option[OUT]]

    Permalink
    Definition Classes
    AutoFilters
  12. def _AutoOut[IN, OUT](fn: ToResponse[OUT]): Filter[IN, Response, IN, OUT]

    Permalink
    Definition Classes
    AutoFilters
  13. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  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. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  24. val responseBuilder: Circe.ResponseBuilder.type

    Permalink
    Attributes
    protected
    Definition Classes
    Filters → AutoFilters
  25. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AutoFilters[Json]

Inherited from AnyRef

Inherited from Any

Ungrouped