akka.http.scaladsl.marshalling
PredefinedToEntityMarshallers
Companion object PredefinedToEntityMarshallers
trait PredefinedToEntityMarshallers extends MultipartMarshallers
- Alphabetic
- By Inheritance
- PredefinedToEntityMarshallers
- MultipartMarshallers
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from PredefinedToEntityMarshallers toany2stringadd[PredefinedToEntityMarshallers] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (PredefinedToEntityMarshallers, B)
- Implicit
- This member is added by an implicit conversion from PredefinedToEntityMarshallers toArrowAssoc[PredefinedToEntityMarshallers] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- implicit val ByteArrayMarshaller: ToEntityMarshaller[Array[Byte]]
- implicit val ByteStringMarshaller: ToEntityMarshaller[ByteString]
- implicit val CharArrayMarshaller: ToEntityMarshaller[Array[Char]]
- implicit val DoneMarshaller: ToEntityMarshaller[Done]
- implicit val FormDataMarshaller: ToEntityMarshaller[FormData]
- implicit val MessageEntityMarshaller: ToEntityMarshaller[MessageEntity]
- implicit val StringMarshaller: ToEntityMarshaller[String]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def byteArrayMarshaller(contentType: ContentType): ToEntityMarshaller[Array[Byte]]
- def byteStringMarshaller(contentType: ContentType): ToEntityMarshaller[ByteString]
- def charArrayMarshaller(mediaType: WithFixedCharset): ToEntityMarshaller[Array[Char]]
- def charArrayMarshaller(mediaType: WithOpenCharset): ToEntityMarshaller[Array[Char]]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- def ensuring(cond: (PredefinedToEntityMarshallers) => Boolean, msg: => Any): PredefinedToEntityMarshallers
- Implicit
- This member is added by an implicit conversion from PredefinedToEntityMarshallers toEnsuring[PredefinedToEntityMarshallers] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (PredefinedToEntityMarshallers) => Boolean): PredefinedToEntityMarshallers
- Implicit
- This member is added by an implicit conversion from PredefinedToEntityMarshallers toEnsuring[PredefinedToEntityMarshallers] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): PredefinedToEntityMarshallers
- Implicit
- This member is added by an implicit conversion from PredefinedToEntityMarshallers toEnsuring[PredefinedToEntityMarshallers] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): PredefinedToEntityMarshallers
- Implicit
- This member is added by an implicit conversion from PredefinedToEntityMarshallers toEnsuring[PredefinedToEntityMarshallers] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- 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
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def multipartBoundaryLength: Int
The length of randomly generated multipart boundaries (before base64 encoding).
The length of randomly generated multipart boundaries (before base64 encoding). Can be overridden to configure.
- Attributes
- protected
- Definition Classes
- MultipartMarshallers
- def multipartBoundaryRandom: Random
The random instance that is used to create multipart boundaries.
The random instance that is used to create multipart boundaries. This can be overridden (e.g. in tests) to choose how a boundary is created.
- Attributes
- protected
- Definition Classes
- MultipartMarshallers
- implicit def multipartMarshaller[T <: Multipart](implicit log: LoggingAdapter = DefaultNoLogging): ToEntityMarshaller[T]
- Definition Classes
- MultipartMarshallers
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def randomBoundary(): String
The method used to create boundaries in
multipartMarshaller
.The method used to create boundaries in
multipartMarshaller
. Can be overridden to create custom boundaries.- Attributes
- protected
- Definition Classes
- MultipartMarshallers
- def stringMarshaller(mediaType: WithFixedCharset): ToEntityMarshaller[String]
- def stringMarshaller(mediaType: WithOpenCharset): ToEntityMarshaller[String]
- 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
(Since version 9)
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from PredefinedToEntityMarshallers toStringFormat[PredefinedToEntityMarshallers] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- def →[B](y: B): (PredefinedToEntityMarshallers, B)
- Implicit
- This member is added by an implicit conversion from PredefinedToEntityMarshallers toArrowAssoc[PredefinedToEntityMarshallers] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.