TextPart

object TextPart

Provides factory for TextPart.

Companion
class
class Object
trait Matchable
class Any

Value members

Concrete methods

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

Creates text part with given name and content.

Creates text part with given name and content.

def apply(contentDisposition: DispositionType, content: String): TextPart

Creates text part with supplied disposition and content.

Creates text part with supplied disposition and content.

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

Creates text part with supplied disposition, content type, and content.

Creates text part with supplied disposition, content type, and content.

def apply(headers: Seq[Header], content: String): TextPart

Creates text part with supplied headers and content.

Creates text part with supplied headers and content.