java.lang.Object
io.qt.QtObject
io.qt.network.QHttpPart
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Holds a body part to be used inside a HTTP multipart MIME message
Java wrapper for Qt class QHttpPart
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionfinal void
clone()
Creates and returns a copy of this object.final boolean
boolean
int
hashCode()
Returns the objects's hash code computed byqHash(QHttpPart)
.final void
Deprecated.final void
setBody
(byte [] body) Overloaded function forsetBody(io.qt.core.QByteArray)
.final void
setBody
(QByteArray body) final void
setBodyDevice
(QIODevice device) final void
setHeader
(QNetworkRequest.KnownHeaders header, Object value) final void
setRawHeader
(byte [] headerName, byte [] headerValue) Overloaded function forsetRawHeader(io.qt.core.QByteArray, io.qt.core.QByteArray)
.final void
setRawHeader
(byte [] headerName, QByteArray headerValue) Overloaded function forsetRawHeader(io.qt.core.QByteArray, io.qt.core.QByteArray)
.final void
setRawHeader
(QByteArray headerName, byte [] headerValue) Overloaded function forsetRawHeader(io.qt.core.QByteArray, io.qt.core.QByteArray)
.final void
setRawHeader
(QByteArray headerName, QByteArray headerValue) final void
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QHttpPart
public QHttpPart() -
QHttpPart
- Parameters:
other
-
-
-
Method Details
-
assign
- Parameters:
other
-
-
equals
- Parameters:
other
-- Returns:
-
setBody
- Parameters:
body
-
-
setBodyDevice
- Parameters:
device
-
-
setHeader
- Parameters:
header
-value
-
-
setRawHeader
- Parameters:
headerName
-headerValue
-
-
swap
- Parameters:
other
-
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QHttpPart)
. -
clone
Creates and returns a copy of this object.
-
set
Deprecated.Useassign(io.qt.network.QHttpPart)
instead. -
setBody
Overloaded function for
setBody(io.qt.core.QByteArray)
. -
setRawHeader
Overloaded function for
setRawHeader(io.qt.core.QByteArray, io.qt.core.QByteArray)
. -
setRawHeader
Overloaded function for
setRawHeader(io.qt.core.QByteArray, io.qt.core.QByteArray)
. -
setRawHeader
Overloaded function for
setRawHeader(io.qt.core.QByteArray, io.qt.core.QByteArray)
.
-
assign(io.qt.network.QHttpPart)
instead.