java.lang.Object
io.qt.QtObject
io.qt.network.QNetworkRequest
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Holds a request to be sent with QNetworkAccessManager
Java wrapper for Qt's class QNetworkRequest
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QNetworkRequest::Attributestatic enum
Java wrapper for Qt enum QNetworkRequest::CacheLoadControlstatic enum
Java wrapper for Qt enum QNetworkRequest::KnownHeadersstatic enum
Java wrapper for Qt enum QNetworkRequest::LoadControlstatic enum
Java wrapper for Qt enum QNetworkRequest::Prioritystatic enum
Java wrapper for Qt enum QNetworkRequest::RedirectPolicystatic enum
Java wrapper for Qt enum QNetworkRequest::TransferTimeoutConstantNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQNetworkRequest
(QUrl url) QNetworkRequest
(QNetworkRequest other) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QNetworkRequest other) final Object
Overloaded function forattribute(io.qt.network.QNetworkRequest.Attribute, java.lang.Object)
withdefaultValue = null
.final Object
attribute
(QNetworkRequest.Attribute code, Object defaultValue) clone()
final long
boolean
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.int
hashCode()
final boolean
hasRawHeader
(QByteArray headerName) final Object
header
(QNetworkRequest.KnownHeaders header) final QHttp2Configuration
final int
final QObject
final String
final QNetworkRequest.Priority
priority()
final QByteArray
rawHeader
(QByteArray headerName) final QList<QByteArray>
final void
setAttribute
(QNetworkRequest.Attribute code, Object value) final void
setDecompressedSafetyCheckThreshold
(long threshold) final void
setHeader
(QNetworkRequest.KnownHeaders header, Object value) final void
setHttp2Configuration
(QHttp2Configuration configuration) final void
setMaximumRedirectsAllowed
(int maximumRedirectsAllowed) final void
setOriginatingObject
(QObject object) final void
setPeerVerifyName
(String peerName) final void
setPriority
(QNetworkRequest.Priority priority) final void
setRawHeader
(QByteArray headerName, QByteArray value) final void
setSslConfiguration
(QSslConfiguration configuration) final void
Overloaded function forsetTransferTimeout(int)
withtimeout = 30000
.final void
setTransferTimeout
(int timeout) final void
final QSslConfiguration
final void
swap
(QNetworkRequest other) final int
final QUrl
url()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QNetworkRequest
public QNetworkRequest() -
QNetworkRequest
-
QNetworkRequest
-
QNetworkRequest
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
attribute
Overloaded function for
attribute(io.qt.network.QNetworkRequest.Attribute, java.lang.Object)
withdefaultValue = null
. -
attribute
-
decompressedSafetyCheckThreshold
-
hasRawHeader
-
header
-
http2Configuration
-
maximumRedirectsAllowed
-
assign
-
originatingObject
-
peerVerifyName
-
priority
-
rawHeader
-
rawHeaderList
-
setAttribute
-
setDecompressedSafetyCheckThreshold
-
setHeader
-
setHttp2Configuration
-
setMaximumRedirectsAllowed
-
setOriginatingObject
-
setPeerVerifyName
-
setPriority
-
setRawHeader
-
setSslConfiguration
-
setTransferTimeout
Overloaded function for
setTransferTimeout(int)
withtimeout = 30000
. -
setTransferTimeout
-
setUrl
-
sslConfiguration
-
swap
-
transferTimeout
-
url
-
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. -
hashCode
-
clone
-