Packages

object Multipart

Source
Multipart.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Multipart
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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 clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def escapeParamWithHTML5Strategy(value: String): String

    Helper function to escape a single header parameter using the HTML5 strategy.

    Helper function to escape a single header parameter using the HTML5 strategy. (The alternative would be the strategy defined by RFC5987) Particularly useful for Content-Disposition header parameters which might contain non-ASCII values, like file names. This follows the "WHATWG HTML living standard" section 4.10.21.8 and matches the behavior of curl and modern browsers. See https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#multipart-form-data

  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. def format(boundary: String, nioCharset: Charset, chunkSize: Int): Flow[Part[Source[ByteString, _]], ByteString, NotUsed]

    Provides a Formatting Flow which could be used to format a MultipartFormData.Part source to a multipart/form data body

  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. def randomBoundary(length: Int = 18, random: Random = ThreadLocalRandom.current()): String

    Creates a new random number of the given length and base64 encodes it (using a custom "safe" alphabet).

    Creates a new random number of the given length and base64 encodes it (using a custom "safe" alphabet).

    Exceptions thrown

    java.lang.IllegalArgumentException if the length is greater than 70 or less than 1 as specified in rfc2046

  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. def transform(body: Source[Part[Source[ByteString, _]], _], boundary: String): Source[ByteString, _]

    Transforms a Source[MultipartFormData.Part] to a Source[ByteString]

  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped