- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Convenience class to simplify the construction of QHttpPart objects
Java wrapper for Qt class QFormDataPartBuilder
- Since:
- This class was introduced in Qt 6.8.
-
Constructor Summary
ConstructorDescriptionSeeQFormDataPartBuilder::
QFormDataPartBuilder() -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.final QFormDataPartBuilder
setBody
(byte [] data) Overloaded function forsetBody(byte[], java.lang.String, java.lang.String)
final QFormDataPartBuilder
Overloaded function forsetBody(byte[], java.lang.String, java.lang.String)
withmimeType = (String)null
.final QFormDataPartBuilder
Overloaded function forsetBody(io.qt.core.QByteArrayView, java.lang.String, java.lang.String)
.final QFormDataPartBuilder
setBody
(QByteArray data) Overloaded function forsetBody(io.qt.core.QByteArray, java.lang.String, java.lang.String)
final QFormDataPartBuilder
setBody
(QByteArray data, String fileName) Overloaded function forsetBody(io.qt.core.QByteArray, java.lang.String, java.lang.String)
withmimeType = (String)null
.final QFormDataPartBuilder
setBody
(QByteArray data, String fileName, String mimeType) final QFormDataPartBuilder
setBody
(QByteArrayView data) Overloaded function forsetBody(io.qt.core.QByteArrayView, java.lang.String, java.lang.String)
final QFormDataPartBuilder
setBody
(QByteArrayView data, String fileName) Overloaded function forsetBody(io.qt.core.QByteArrayView, java.lang.String, java.lang.String)
withmimeType = (String)null
.final QFormDataPartBuilder
setBody
(QByteArrayView data, String fileName, String mimeType) final QFormDataPartBuilder
setBody
(ByteBuffer data) Overloaded function forsetBody(java.nio.ByteBuffer, java.lang.String, java.lang.String)
final QFormDataPartBuilder
setBody
(ByteBuffer data, String fileName) Overloaded function forsetBody(java.nio.ByteBuffer, java.lang.String, java.lang.String)
withmimeType = (String)null
.final QFormDataPartBuilder
setBody
(ByteBuffer data, String fileName, String mimeType) Overloaded function forsetBody(io.qt.core.QByteArrayView, java.lang.String, java.lang.String)
.final QFormDataPartBuilder
setBodyDevice
(QIODevice body) Overloaded function forsetBodyDevice(io.qt.core.QIODevice, java.lang.String, java.lang.String)
final QFormDataPartBuilder
setBodyDevice
(QIODevice body, String fileName) Overloaded function forsetBodyDevice(io.qt.core.QIODevice, java.lang.String, java.lang.String)
withmimeType = (String)null
.final QFormDataPartBuilder
setBodyDevice
(QIODevice body, String fileName, String mimeType) final QFormDataPartBuilder
setHeaders
(QHttpHeaders headers) final void
swap
(QFormDataPartBuilder other) SeeQFormDataPartBuilder::
swap(QFormDataPartBuilder&) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QFormDataPartBuilder
public QFormDataPartBuilder()See
QFormDataPartBuilder::
QFormDataPartBuilder() -
QFormDataPartBuilder
- Parameters:
other
-
-
-
Method Details
-
setBody
@QtUninvokable public final QFormDataPartBuilder setBody(QByteArrayView data, String fileName, String mimeType) - Parameters:
data
-fileName
-mimeType
-- Returns:
-
setBody
@QtUninvokable public final QFormDataPartBuilder setBody(QByteArray data, String fileName, String mimeType) - Parameters:
data
-fileName
-mimeType
-- Returns:
-
setBodyDevice
@QtUninvokable public final QFormDataPartBuilder setBodyDevice(QIODevice body, String fileName, String mimeType) - Parameters:
body
-fileName
-mimeType
-- Returns:
-
setHeaders
- Parameters:
headers
-- Returns:
-
swap
See
QFormDataPartBuilder::
swap(QFormDataPartBuilder&) - Parameters:
other
-
-
clone
Creates and returns a copy of this object.
See
QFormDataPartBuilder::
QFormDataPartBuilder(QFormDataPartBuilder) -
setBody
Overloaded function for
setBody(io.qt.core.QByteArrayView, java.lang.String, java.lang.String)
withmimeType = (String)null
. -
setBody
Overloaded function for
setBody(io.qt.core.QByteArrayView, java.lang.String, java.lang.String)
with:
fileName = (String)null
mimeType = (String)null
-
setBody
Overloaded function for
setBody(java.nio.ByteBuffer, java.lang.String, java.lang.String)
withmimeType = (String)null
. -
setBody
Overloaded function for
setBody(java.nio.ByteBuffer, java.lang.String, java.lang.String)
with:
fileName = (String)null
mimeType = (String)null
-
setBody
@QtUninvokable public final QFormDataPartBuilder setBody(ByteBuffer data, String fileName, String mimeType) Overloaded function for
setBody(io.qt.core.QByteArrayView, java.lang.String, java.lang.String)
. -
setBody
Overloaded function for
setBody(byte[], java.lang.String, java.lang.String)
withmimeType = (String)null
. -
setBody
Overloaded function for
setBody(byte[], java.lang.String, java.lang.String)
with:
fileName = (String)null
mimeType = (String)null
-
setBody
@QtUninvokable public final QFormDataPartBuilder setBody(byte [] data, String fileName, String mimeType) Overloaded function for
setBody(io.qt.core.QByteArrayView, java.lang.String, java.lang.String)
. -
setBody
Overloaded function for
setBody(io.qt.core.QByteArray, java.lang.String, java.lang.String)
withmimeType = (String)null
. -
setBody
Overloaded function for
setBody(io.qt.core.QByteArray, java.lang.String, java.lang.String)
with:
fileName = (String)null
mimeType = (String)null
-
setBodyDevice
Overloaded function for
setBodyDevice(io.qt.core.QIODevice, java.lang.String, java.lang.String)
withmimeType = (String)null
. -
setBodyDevice
Overloaded function for
setBodyDevice(io.qt.core.QIODevice, java.lang.String, java.lang.String)
with:
fileName = (String)null
mimeType = (String)null
-