Trait/Object

agora.rest

RestConversionImplicits

Related Docs: object RestConversionImplicits | package rest

Permalink

trait RestConversionImplicits extends FailFastCirceSupport

Contains implicits for creating AsClient instances

In an implicit ClientConfig is in scope, then we can know how to connect to workers from Dispatch responses and so can provide an AsClient instance.

Furthermore, if the right marshallers/unmarshallers are in scope, then we can further refine the requests/responses to more specific types

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

Type Members

  1. implicit class RichHttpClient[A] extends AnyRef

    Permalink

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. implicit def asConfigOps(implicit conf: ClientConfig): ClientConfigOps

    Permalink
  5. implicit def asInferredClient[A, B](implicit conf: ClientConfig, mat: Materializer, tem: ToEntityMarshaller[A], fem: FromEntityUnmarshaller[B]): AsClient[A, B]

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. implicit def asMarshalledClient[T](implicit arg0: ToEntityMarshaller[T], conf: ClientConfig): AsClient[T, HttpResponse]

    Permalink
  8. implicit def asRichAsClientHttpResponse[A](implicit asClient: AsClient[A, HttpResponse]): AsClientOps[A]

    Permalink
  9. implicit def asWorkerClient(implicit conf: ClientConfig): AsClient[HttpRequest, HttpResponse]

    Permalink

    In an implicit ClientConfig is in scope, then we can know how to connect to workers from Dispatch responses and so can provide an AsClient instance

    In an implicit ClientConfig is in scope, then we can know how to connect to workers from Dispatch responses and so can provide an AsClient instance

    conf

    the client config

    returns

    an AsClient for generic http requests/responses

  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  11. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. implicit final def jsonMarshaller(implicit printer: Printer): ToEntityMarshaller[Json]

    Permalink
    Definition Classes
    BaseCirceSupport
  17. implicit final val jsonUnmarshaller: FromEntityUnmarshaller[Json]

    Permalink
    Definition Classes
    BaseCirceSupport
  18. implicit final def marshaller[A](implicit arg0: Encoder[A], printer: Printer): ToEntityMarshaller[A]

    Permalink
    Definition Classes
    BaseCirceSupport
  19. final def ne(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  22. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  24. implicit final def unmarshaller[A](implicit arg0: Decoder[A]): FromEntityUnmarshaller[A]

    Permalink
    Definition Classes
    FailFastUnmarshaller
  25. def unmarshallerContentTypes: Seq[ContentTypeRange]

    Permalink
    Definition Classes
    BaseCirceSupport
  26. final def wait(): Unit

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

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

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

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from FailFastCirceSupport

Inherited from FailFastUnmarshaller

Inherited from BaseCirceSupport

Inherited from AnyRef

Inherited from Any

Ungrouped