java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.network.QHttpPart
- All Implemented Interfaces:
QtObjectInterface
public class QHttpPart extends QtObject
Holds a body part to be used inside a HTTP multipart MIME message
Java wrapper for Qt class QHttpPart
-
Nested Class Summary
-
Constructor Summary
Constructors Modifier Constructor Description QHttpPart()
QHttpPart(QHttpPart other)
protected
QHttpPart(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.QHttpPart
set(QHttpPart other)
void
setBody(QByteArray body)
void
setBodyDevice(QIODevice device)
void
setHeader(QNetworkRequest.KnownHeaders header, Object value)
void
setRawHeader(QByteArray headerName, QByteArray headerValue)
void
swap(QHttpPart other)
-
Constructor Details
-
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.
-