Multipart

scamper.http.multipart.Multipart
See theMultipart companion object
sealed trait Multipart

Represents multipart form data.

Attributes

See also
Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def getPart(name: String): Option[Part]

Gets first part with given name.

Gets first part with given name.

Value parameters

name

part name

Attributes

def getParts(name: String): Seq[Part]

Gets all parts with given name

Gets all parts with given name

Value parameters

name

part name

Attributes

def parts: Seq[Part]

Gets parts.

Gets parts.

Attributes

def toEntity(boundary: String): Entity

Collects all parts into entity.

Collects all parts into entity.

Value parameters

boundary

part delimiter

Attributes

Collects parts into query string.

Collects parts into query string.

Attributes

Note

The query string only includes parts whose types are text/plain and whose disposition file name parameters are not set.

Concrete methods

def getBytes(name: String): Option[Array[Byte]]

Gets byte content for first part with given name.

Gets byte content for first part with given name.

Value parameters

name

part name

Attributes

def getFile(name: String): Option[File]

Gets file content of first part with given name.

Gets file content of first part with given name.

Value parameters

name

part name

Attributes

def getString(name: String): Option[String]

Gets string content of first part with given name.

Gets string content of first part with given name.

Value parameters

name

part name

Attributes