Part

scamper.http.multipart.Part
See thePart companion trait
object Part

Provides part factory.

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Part.type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(name: String, content: String): Part

Creates part using supplied string content.

Creates part using supplied string content.

Attributes

def apply(name: String, content: Array[Byte]): Part

Creates part using supplied byte content.

Creates part using supplied byte content.

Attributes

Note

Content is copied.

def apply(name: String, content: Array[Byte], offset: Int, length: Int): Part

Creates part using supplied byte content.

Creates part using supplied byte content.

Attributes

Note

Content is copied.

def apply(name: String, content: File): Part

Creates part using supplied file content.

Creates part using supplied file content.

Attributes

def apply(name: String, content: File, fileName: Option[String]): Part

Creates part using supplied file content and optional file name.

Creates part using supplied file content and optional file name.

Attributes

def apply(contentDisposition: DispositionType, contentType: MediaType, content: String): Part

Creates part using supplied string content.

Creates part using supplied string content.

Attributes

def apply(contentDisposition: DispositionType, contentType: MediaType, content: Array[Byte]): Part

Creates part using supplied byte content.

Creates part using supplied byte content.

Attributes

def apply(contentDisposition: DispositionType, contentType: MediaType, content: File): Part

Creates part using supplied file content.

Creates part using supplied file content.

Attributes