java.lang.Object
io.qt.internal.NativeUtility.Object
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 the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.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 the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation.
-