Packages

c

caliban.interop.circe

CirceJsonBackend

final class CirceJsonBackend extends JsonBackend with FailFastCirceSupport

Circe json backend for akka-http routes.
Requires "de.heikoseeberger" %% "akka-http-circe" to be on the classpath (checked at compile-time).

See also

AkkaHttpAdapter for usage example.

Linear Supertypes
FailFastCirceSupport, FailFastUnmarshaller, BaseCirceSupport, JsonBackend, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CirceJsonBackend
  2. FailFastCirceSupport
  3. FailFastUnmarshaller
  4. BaseCirceSupport
  5. JsonBackend
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CirceJsonBackend()

Type Members

  1. type SourceOf[A] = Source[A, _]
    Definition Classes
    BaseCirceSupport

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def byteStringJsonUnmarshaller: Unmarshaller[ByteString, Json]
    Definition Classes
    BaseCirceSupport
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def encodeGraphQLResponse(r: GraphQLResponse[Any]): String
    Definition Classes
    CirceJsonBackendJsonBackend
  8. def encodeWSError(id: String, error: Throwable): String
    Definition Classes
    CirceJsonBackendJsonBackend
  9. def encodeWSResponse[E](id: String, data: ResponseValue, errors: List[E]): String
    Definition Classes
    CirceJsonBackendJsonBackend
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. implicit final def fromByteStringUnmarshaller[A](implicit arg0: Decoder[A]): Unmarshaller[ByteString, A]
    Definition Classes
    FailFastUnmarshaller
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. implicit final def jsonMarshaller(implicit printer: Printer): ToEntityMarshaller[Json]
    Definition Classes
    BaseCirceSupport
  18. implicit final val jsonUnmarshaller: FromEntityUnmarshaller[Json]
    Definition Classes
    BaseCirceSupport
  19. implicit final def marshaller[A](implicit arg0: Encoder[A], printer: Printer): ToEntityMarshaller[A]
    Definition Classes
    BaseCirceSupport
  20. def mediaTypes: Seq[WithFixedCharset]
    Definition Classes
    BaseCirceSupport
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def parseHttpRequest(query: String, op: Option[String], vars: Option[String], exts: Option[String]): Either[Throwable, GraphQLRequest]
    Definition Classes
    CirceJsonBackendJsonBackend
  25. def parseWSMessage(text: String): Either[Throwable, WSMessage]
    Definition Classes
    CirceJsonBackendJsonBackend
  26. def reqUnmarshaller: FromEntityUnmarshaller[GraphQLRequest]
    Definition Classes
    CirceJsonBackendJsonBackend
  27. implicit final val safeJsonUnmarshaller: FromEntityUnmarshaller[Either[ParsingFailure, Json]]
    Definition Classes
    BaseCirceSupport
  28. implicit final def safeUnmarshaller[A](implicit arg0: Decoder[A]): FromEntityUnmarshaller[Either[Error, A]]
    Definition Classes
    FailFastUnmarshaller
  29. implicit def sourceMarshaller[A](implicit writes: Encoder[A], printer: Printer, support: JsonEntityStreamingSupport): ToEntityMarshaller[SourceOf[A]]
    Definition Classes
    BaseCirceSupport
  30. implicit def sourceUnmarshaller[A](implicit arg0: Decoder[A], support: JsonEntityStreamingSupport): FromEntityUnmarshaller[SourceOf[A]]
    Definition Classes
    BaseCirceSupport
  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. implicit final def unmarshaller[A](implicit arg0: Decoder[A]): FromEntityUnmarshaller[A]
    Definition Classes
    FailFastUnmarshaller
  34. def unmarshallerContentTypes: Seq[ContentTypeRange]
    Definition Classes
    BaseCirceSupport
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from FailFastCirceSupport

Inherited from FailFastUnmarshaller

Inherited from BaseCirceSupport

Inherited from JsonBackend

Inherited from AnyRef

Inherited from Any

Ungrouped