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.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BodyPart
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def asScala(): http.request.BodyPart
  6. 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()
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. 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()
  9. 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()
  10. 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()
  11. 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()
  12. 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()
  13. 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()
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. 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()
  17. 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()
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. 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()
  21. 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()
  22. 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()
  23. 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()
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. 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()
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped