Packages

t

io.bullet.borer.compat

AkkaHttpCompat

trait AkkaHttpCompat extends AnyRef

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AkkaHttpCompat
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type CborDecodingSetup = Api[DecodingConfig]
  2. type CborEncodingSetup = Api[EncodingConfig]
  3. type JsonDecodingSetup = Api[DecodingConfig]
  4. type JsonEncodingSetup = Api[EncodingConfig]

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. final def borerCborMarshaller[T](cborContentType: ContentType = MediaTypes.`application/cbor`, configureCbor: (CborEncodingSetup) => CborEncodingSetup = identity)(implicit arg0: Encoder[T]): ToEntityMarshaller[T]

    Provides a ToEntityMarshaller for T given an implicit borer Encoder for T.

    Provides a ToEntityMarshaller for T given an implicit borer Encoder for T. Supports only CBOR with the given MediaType.

  6. final def borerCborUnmarshaller[T](cborMediaType: MediaType = MediaTypes.`application/cbor`, configureCbor: (CborDecodingSetup) => CborDecodingSetup = identity)(implicit arg0: Decoder[T]): FromEntityUnmarshaller[T]

    Provides a FromEntityUnmarshaller for T given an implicit borer Decoder for T.

    Provides a FromEntityUnmarshaller for T given an implicit borer Decoder for T. Supports only CBOR with the given MediaType.

  7. implicit def borerFromEntityUnmarshaller[T](implicit arg0: Decoder[T]): FromEntityUnmarshaller[T]

    Override with a parameterized call to the borerUnmarshaller method to apply a custom configuration.

  8. implicit final def borerFromMessageUnmarshaller[T](implicit arg0: Decoder[T]): FromMessageUnmarshaller[T]
  9. final def borerJsonMarshaller[T](jsonContentType: ContentType = MediaTypes.`application/json`, configureJson: (JsonEncodingSetup) => JsonEncodingSetup = identity)(implicit arg0: Encoder[T]): ToEntityMarshaller[T]

    Provides a ToEntityMarshaller for T given an implicit borer Encoder for T.

    Provides a ToEntityMarshaller for T given an implicit borer Encoder for T. Supports only JSON with the given MediaType.

  10. implicit def borerJsonStreamFromEntityUnmarshaller[T](implicit arg0: Decoder[T]): FromEntityUnmarshaller[Source[T, NotUsed]]

    Override with a parameterized call to the borerStreamUnmarshaller method to apply a custom configuration.

  11. implicit final def borerJsonStreamFromMessageUnmarshaller[T](implicit arg0: Decoder[T]): FromMessageUnmarshaller[Source[T, NotUsed]]
  12. implicit def borerJsonStreamToEntityMarshaller[T](implicit arg0: ToEntityMarshaller[T], arg1: ClassTag[T]): ToEntityMarshaller[Source[T, NotUsed]]

    Override with a parameterized call to the borerStreamMarshaller method to apply a custom configuration.

  13. implicit final def borerJsonStreamToResponseMarshaller[T](implicit arg0: ToEntityMarshaller[T], arg1: ClassTag[T]): ToResponseMarshaller[Source[T, NotUsed]]
  14. final def borerJsonUnmarshaller[T](jsonMediaType: MediaType = MediaTypes.`application/json`, configureJson: (JsonDecodingSetup) => JsonDecodingSetup = identity)(implicit arg0: Decoder[T]): FromEntityUnmarshaller[T]

    Provides a FromEntityUnmarshaller for T given an implicit borer Decoder for T.

    Provides a FromEntityUnmarshaller for T given an implicit borer Decoder for T. Supports only JSON with the given MediaType.

  15. final def borerMarshaller[T](cborContentType: ContentType = MediaTypes.`application/cbor`, jsonContentType: ContentType = MediaTypes.`application/json`, configureCbor: (CborEncodingSetup) => CborEncodingSetup = identity, configureJson: (JsonEncodingSetup) => JsonEncodingSetup = identity, prefer: Target = Json)(implicit arg0: Encoder[T]): ToEntityMarshaller[T]

    Provides a ToEntityMarshaller for T given an implicit borer Encoder for T.

    Provides a ToEntityMarshaller for T given an implicit borer Encoder for T. Supports both CBOR and JSON with the given MediaTypes. Content negotiation will determine, whether CBOR or JSON is produced. If the client accepts both formats with equal q-value the marshaller will produce whatever the prefer parameter specifies.

  16. final def borerStreamMarshaller[T](ess: EntityStreamingSupport)(implicit marshaller: ToEntityMarshaller[T], classTag: ClassTag[T]): ToEntityMarshaller[Source[T, NotUsed]]

    Provides a ToEntityMarshaller for streams of T given an implicit borer Encoder for T.

    Provides a ToEntityMarshaller for streams of T given an implicit borer Encoder for T. Supports JSON or CSV, depending on the given EntityStreamingSupport.

  17. final def borerStreamUnmarshaller[T](ess: EntityStreamingSupport)(implicit arg0: Decoder[T]): FromEntityUnmarshaller[Source[T, NotUsed]]

    Provides a FromEntityUnmarshaller which produces streams of T given an implicit borer Decoder for T.

    Provides a FromEntityUnmarshaller which produces streams of T given an implicit borer Decoder for T. Supports JSON or CSV, depending on the given EntityStreamingSupport.

    See also

    https://doc.akka.io/api/akka-http/10.1.9/akka/http/scaladsl/common/EntityStreamingSupport.html

  18. implicit def borerToEntityMarshaller[T](implicit arg0: Encoder[T]): ToEntityMarshaller[T]

    Override with a parameterized call to the borerMarshaller method to apply a custom configuration.

  19. implicit final def borerToResponseMarshaller[T](implicit arg0: Encoder[T]): ToResponseMarshaller[T]
  20. final def borerUnmarshaller[T](cborMediaType: MediaType = MediaTypes.`application/cbor`, jsonMediaType: MediaType = MediaTypes.`application/json`, configureCbor: (CborDecodingSetup) => CborDecodingSetup = identity, configureJson: (JsonDecodingSetup) => JsonDecodingSetup = identity)(implicit arg0: Decoder[T]): FromEntityUnmarshaller[T]

    Provides a FromEntityUnmarshaller for T given an implicit borer Decoder for T.

    Provides a FromEntityUnmarshaller for T given an implicit borer Decoder for T. Supports both CBOR and JSON with the given MediaTypes.

  21. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  22. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  24. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped