trait AkkaHttpCompat extends AnyRef
- Alphabetic
- By Inheritance
- AkkaHttpCompat
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- 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.
- 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.
- implicit def borerFromEntityUnmarshaller[T](implicit arg0: Decoder[T]): FromEntityUnmarshaller[T]
Override with a parameterized call to the
borerUnmarshallermethod to apply a custom configuration. - implicit final def borerFromMessageUnmarshaller[T](implicit arg0: Decoder[T]): FromMessageUnmarshaller[T]
- 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.
- implicit def borerJsonStreamFromEntityUnmarshaller[T](implicit arg0: Decoder[T]): FromEntityUnmarshaller[Source[T, NotUsed]]
Override with a parameterized call to the
borerStreamUnmarshallermethod to apply a custom configuration. - implicit final def borerJsonStreamFromMessageUnmarshaller[T](implicit arg0: Decoder[T]): FromMessageUnmarshaller[Source[T, NotUsed]]
- implicit def borerJsonStreamToEntityMarshaller[T](implicit arg0: ToEntityMarshaller[T], arg1: ClassTag[T]): ToEntityMarshaller[Source[T, NotUsed]]
Override with a parameterized call to the
borerStreamMarshallermethod to apply a custom configuration. - implicit final def borerJsonStreamToResponseMarshaller[T](implicit arg0: ToEntityMarshaller[T], arg1: ClassTag[T]): ToResponseMarshaller[Source[T, NotUsed]]
- 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.
- 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
preferparameter specifies. - 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.
- 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
- implicit def borerToEntityMarshaller[T](implicit arg0: Encoder[T]): ToEntityMarshaller[T]
Override with a parameterized call to the
borerMarshallermethod to apply a custom configuration. - implicit final def borerToResponseMarshaller[T](implicit arg0: Encoder[T]): ToResponseMarshaller[T]
- 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.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated