dispatch.classic.mime

Mime

object Mime extends AnyRef

Mime module for multipart form posting. Note that when using an InputStream generator, chuncked encoding will be used with no Content-Length header and the stream will be closed after posting. It is therefore highly recommended that your generator always return a new stream instance, or a Request descriptor referencing it will fail after its first use.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Mime
  2. AnyRef
  3. Any
Visibility
  1. Public
  2. All

Type Members

  1. trait Entity extends HttpEntity with FormEntity

  2. type Headers = Map[String, List[String]]

  3. type ListenerF = (Long) ⇒ (Long) ⇒ Unit

    Post listener function.

    Post listener function. Called once with the total bytes; the function returned is called with the bytes uploaded at each kilobyte boundary, and when complete.

  4. class MimeRequestTerms extends AnyRef

    Request derivative with multipart operators

  5. type MultipartBlock [T] = (Headers, InputStream) ⇒ T

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. implicit def Request2ExtendedRequest (r: Request): MimeRequestTerms

    Adds multipart operators to Request

    Adds multipart operators to Request

    Attributes
    implicit
  7. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  8. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  10. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  11. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef
  13. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  14. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  15. def mime_stream_parser [T] (multipart_block: MultipartBlock[T])(content_type: String)(stm: InputStream): List[T]

  16. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  17. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  18. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  19. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  20. def toString (): String

    Definition Classes
    AnyRef → Any
  21. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any