java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.network.QHttpPart
- All Implemented Interfaces:
QtObjectInterface
Holds a body part to be used inside a HTTP multipart MIME message
Java wrapper for Qt's class QHttpPart
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.final QHttpPart
final void
setBody
(QByteArray body) final void
setBodyDevice
(QIODevice device) final void
setHeader
(QNetworkRequest.KnownHeaders header, Object value) final void
setRawHeader
(QByteArray headerName, QByteArray headerValue) final void
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QHttpPart
public QHttpPart() -
QHttpPart
-
QHttpPart
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
set
-
setBody
-
setBodyDevice
-
setHeader
-
setRawHeader
-
swap
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation.
-