java.lang.Object
io.qt.QtObject
io.qt.webengine.core.QWebEngineHttpRequest
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Holds a request to be sent with WebEngine
Java wrapper for Qt's class QWebEngineHttpRequest
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QWebEngineHttpRequest::MethodNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionOverloaded constructor forQWebEngineHttpRequest(io.qt.core.QUrl, io.qt.webengine.core.QWebEngineHttpRequest.Method)
Overloaded constructor forQWebEngineHttpRequest(io.qt.core.QUrl, io.qt.webengine.core.QWebEngineHttpRequest.Method)
withmethod = io.qt.webengine.core.QWebEngineHttpRequest.Method.Get
.QWebEngineHttpRequest
(QUrl url, QWebEngineHttpRequest.Method method) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionclone()
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
hasHeader
(QByteArray headerName) final QByteArray
header
(QByteArray headerName) final QList<QByteArray>
headers()
method()
final QByteArray
postData()
static QWebEngineHttpRequest
postRequest
(QUrl url, Map<String, String> postData) final void
set
(QWebEngineHttpRequest other) final void
setHeader
(QByteArray headerName, QByteArray value) final void
final void
setPostData
(QByteArray postData) final void
final void
swap
(QWebEngineHttpRequest other) final void
unsetHeader
(QByteArray headerName) final QUrl
url()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QWebEngineHttpRequest
Overloaded constructor for
QWebEngineHttpRequest(io.qt.core.QUrl, io.qt.webengine.core.QWebEngineHttpRequest.Method)
withmethod = io.qt.webengine.core.QWebEngineHttpRequest.Method.Get
. -
QWebEngineHttpRequest
public QWebEngineHttpRequest()Overloaded constructor for
QWebEngineHttpRequest(io.qt.core.QUrl, io.qt.webengine.core.QWebEngineHttpRequest.Method)
with:
url = new io.qt.core.QUrl()
method = io.qt.webengine.core.QWebEngineHttpRequest.Method.Get
-
QWebEngineHttpRequest
-
QWebEngineHttpRequest
-
QWebEngineHttpRequest
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
hasHeader
-
header
-
headers
-
method
-
set
-
postData
-
setHeader
-
setMethod
-
setPostData
-
setUrl
-
swap
-
unsetHeader
-
url
-
postRequest
-
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
-