case class Part[+T](name: String, body: T, otherDispositionParams: Map[String, String], headers: Seq[Header]) extends HasHeaders with Product with Serializable
A decoded representation of a multipart part.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Part
- Serializable
- Serializable
- Product
- Equals
- HasHeaders
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
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
- val body: T
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- def contentDispositionHeaderValue: String
-
def
contentLength: Option[Long]
- Definition Classes
- HasHeaders
-
def
contentType: Option[String]
- Definition Classes
- Part → HasHeaders
- def contentType(v: String): Part[T]
- def contentType(v: MediaType): Part[T]
-
def
cookies: Seq[Either[String, CookieWithMeta]]
- Definition Classes
- HasHeaders
- def dispositionParam(k: String, v: String): Part[T]
- def dispositionParams: Map[String, String]
- def dispositionParamsSeq: Seq[(String, String)]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def fileName: Option[String]
- def fileName(v: String): Part[T]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
header(h: String): Option[String]
- Definition Classes
- Part → HasHeaders
-
def
header(k: String, v: String, replaceExisting: Boolean): Part[T]
Adds the given header to the end of the headers sequence.
Adds the given header to the end of the headers sequence.
- replaceExisting
If there's already a header with the same name, should it be dropped?
- def header(k: String, v: String): Part[T]
-
def
header(h: Header, replaceExisting: Boolean = false): Part[T]
Adds the given header to the end of the headers sequence.
Adds the given header to the end of the headers sequence.
- replaceExisting
If there's already a header with the same name, should it be dropped?
-
def
headers(h: String): Seq[String]
- Definition Classes
- HasHeaders
-
val
headers: Seq[Header]
- Definition Classes
- Part → HasHeaders
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val name: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val otherDispositionParams: Map[String, String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
unsafeCookies: Seq[CookieWithMeta]
- Definition Classes
- HasHeaders
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated