java.lang.Object
io.qt.QtObject
io.qt.network.QRestReply
- All Implemented Interfaces:
QtObjectInterface
Convenience wrapper for QNetworkReply
Java wrapper for Qt class QRestReply
- Since:
- This class was introduced in Qt 6.7.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionerror()
final String
final boolean
hasError()
final int
final boolean
final boolean
final QNetworkReply
final QByteArray
readBody()
final Optional<QJsonDocument>
readJson()
Overloaded function forreadJson(io.qt.core.QJsonParseError)
witherror = null
.final Optional<QJsonDocument>
readJson
(QJsonParseError error) final String
readText()
final void
swap
(QRestReply other) SeeQRestReply::
swap(QRestReply&) toString()
Seeoperator<<(QDebug,
QRestReply) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QRestReply
- Parameters:
reply
-
-
-
Method Details
-
error
- Returns:
-
errorString
- Returns:
-
hasError
- Returns:
-
httpStatus
- Returns:
-
isHttpStatusSuccess
- Returns:
-
isSuccess
- Returns:
-
networkReply
- Returns:
-
readBody
- Returns:
-
readJson
- Parameters:
error
-- Returns:
-
readText
- Returns:
-
swap
See
QRestReply::
swap(QRestReply&) - Parameters:
other
-
-
toString
See
operator<<(QDebug,
QRestReply) -
readJson
Overloaded function for
readJson(io.qt.core.QJsonParseError)
witherror = null
.
-