final class BodyPart extends AnyRef
DSL for building multipart request body parts.
Immutable, so all methods return a new occurrence and leave the original unmodified.
- Alphabetic
- By Inheritance
- BodyPart
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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 asScala(): http.request.BodyPart
- def charset(charset: String): BodyPart
Define the charset attribute
Define the charset attribute
- charset
the static charset attribute
- returns
a new BodyPart instance
- Annotations
- @NonNull()
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def contentId(contentId: Function[Session, String]): BodyPart
Define the contentId attribute
Define the contentId attribute
- contentId
the contentId attribute, expressed as a function
- returns
a new BodyPart instance
- Annotations
- @NonNull()
- def contentId(contentId: String): BodyPart
Define the contentId attribute
Define the contentId attribute
- contentId
the contentId attribute, expressed as a Gatling Expression Language String
- returns
a new BodyPart instance
- Annotations
- @NonNull()
- def contentType(contentType: Function[Session, String]): BodyPart
Define the contentType attribute
Define the contentType attribute
- contentType
the contentType attribute, expressed as a function
- returns
a new BodyPart instance
- Annotations
- @NonNull()
- def contentType(contentType: String): BodyPart
Define the contentType attribute
Define the contentType attribute
- contentType
the contentType attribute, expressed as a Gatling Expression Language String
- returns
a new BodyPart instance
- Annotations
- @NonNull()
- def dispositionType(dispositionType: Function[Session, String]): BodyPart
Define the dispositionType attribute
Define the dispositionType attribute
- dispositionType
the dispositionType attribute, expressed as a function
- returns
a new BodyPart instance
- Annotations
- @NonNull()
- def dispositionType(dispositionType: String): BodyPart
Define the dispositionType attribute
Define the dispositionType attribute
- dispositionType
the dispositionType attribute, expressed as a Gatling Expression Language String
- returns
a new BodyPart instance
- Annotations
- @NonNull()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fileName(fileName: Function[Session, String]): BodyPart
Define the fileName attribute
Define the fileName attribute
- fileName
the fileName attribute, expressed as a function
- returns
a new BodyPart instance
- Annotations
- @NonNull()
- def fileName(fileName: String): BodyPart
Define the fileName attribute
Define the fileName attribute
- fileName
the fileName attribute, expressed as a Gatling Expression Language String
- returns
a new BodyPart instance
- Annotations
- @NonNull()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def header(name: Function[Session, String], value: Function[Session, String]): BodyPart
Define a header
Define a header
- name
the header name, expressed as a function
- value
the header value, expressed as a function
- returns
a new BodyPart instance
- Annotations
- @NonNull()
- def header(name: Function[Session, String], value: String): BodyPart
Define a header
Define a header
- name
the header name, expressed as a function
- value
the header value, expressed as a Gatling Expression Language String
- returns
a new BodyPart instance
- Annotations
- @NonNull()
- def header(name: String, value: Function[Session, String]): BodyPart
Define a header
Define a header
- name
the header name, expressed as a Gatling Expression Language String
- value
the header value, expressed as a function
- returns
a new BodyPart instance
- Annotations
- @NonNull()
- def header(name: String, value: String): BodyPart
Define a header
Define a header
- name
the header name, expressed as a Gatling Expression Language String
- value
the header value, expressed as a Gatling Expression Language String
- returns
a new BodyPart instance
- Annotations
- @NonNull()
- 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
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def transferEncoding(transferEncoding: String): BodyPart
Define the transferEncoding attribute
Define the transferEncoding attribute
- transferEncoding
the static transferEncoding attribute
- returns
a new BodyPart instance
- Annotations
- @NonNull()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()