object BodyStructure
- Source
- BodyStructure.scala
- Alphabetic
- By Inheritance
- BodyStructure
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- case class BasicMedia(media: String, subType: String) extends Product with Serializable
simple media type and subtype *
- sealed trait BodyExtension extends AnyRef
arbitrary extensions to the body *
- case class BodyFields(params: Vector[(String, String)], id: Option[String], desc: Option[String], encoding: String, size: Int) extends Product with Serializable
Body type fields
Body type fields
- params
Parameters (arbitrary)
- id
Id of the body
- desc
Description of the body
- encoding
Body encoding (i.e. BASE64)
- size
Size of the body in octets
- sealed trait BodyPart extends AnyRef
parts of the body *
- sealed trait BodyType extends AnyRef
type of body *
- case class BodyTypeBasic(media: BasicMedia, fields: BodyFields) extends BodyType with Product with Serializable
Basic subtype (i.e.
Basic subtype (i.e. binary files)
- media
Media Type
- fields
Fields
- case class BodyTypeMessage(fields: BodyFields, envelope: Envelope, body: BodyPart, lines: Int) extends BodyType with Product with Serializable
Message body type
Message body type
- fields
Fields
- envelope
Message Envelope
- body
Body of the message
- lines
Lines of the message
- case class BodyTypeText(subType: String, fields: BodyFields, lines: Int) extends BodyType with Product with Serializable
Text Body type.
Text Body type.
- subType
SubType (i.e. PLAIN)
- fields
Any fields for TEXT type body
- lines
Number of lines for the body
- case class Envelope(date: Option[LocalDate], subject: Option[String], from: Vector[EmailAddress], sender: Vector[EmailAddress], replyTo: Vector[EmailAddress], to: Vector[EmailAddress], ccc: Vector[EmailAddress], bcc: Vector[EmailAddress], inReplyTo: Option[String], messageId: Option[String]) extends Product with Serializable
resposne to imap ENVELOPE command *
- case class IntBodyExtension(ext: Int) extends BodyExtension with Product with Serializable
body extension with int value *
- case class ListBodyExtension(ext: Vector[BodyExtension]) extends BodyExtension with Product with Serializable
multiple body extensions.
multiple body extensions. vector is nonempty *
- case class MultiBodyExtension(params: Vector[(String, String)], dsp: Option[(String, Vector[(String, String)])], lang: Option[List[String]], loc: Option[String], extensions: Vector[BodyExtension]) extends Product with Serializable
Extension for multi body parts *
- case class MultiBodyPart(parts: Vector[BodyPart], mediaSubType: String, ext: Option[MultiBodyExtension]) extends BodyPart with Product with Serializable
A multiple Body Part
A multiple Body Part
- parts
available Body parts, must be Non Empty.
- mediaSubType
media subtypes
- ext
Extension if available
- case class SingleBodyExtension(md5: Option[String], dsp: Option[(String, Vector[(String, String)])], lang: Option[List[String]], loc: Option[String], extensions: Vector[BodyExtension]) extends Product with Serializable
Extension for single body parts *
- case class SingleBodyPart(tpe: BodyType, ext: Option[SingleBodyExtension]) extends BodyPart with Product with Serializable
A Single Body Part
A Single Body Part
- tpe
Type of Body
- ext
Extensions if available
- case class StringBodyExtension(ext: String) extends BodyExtension with Product with Serializable
body extension with string value *
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])