- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Holds a request to be sent with WebEngine
Java wrapper for Qt class QWebEngineHttpRequest
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQWebEngineHttpRequest::Method
-
Constructor Summary
ConstructorDescriptionOverloaded 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) Overloaded constructor forQWebEngineHttpRequest(java.lang.String, io.qt.webengine.core.QWebEngineHttpRequest.Method)
withmethod = io.qt.webengine.core.QWebEngineHttpRequest.Method.Get
.QWebEngineHttpRequest
(String url, QWebEngineHttpRequest.Method method) Overloaded constructor forQWebEngineHttpRequest(io.qt.core.QUrl, io.qt.webengine.core.QWebEngineHttpRequest.Method)
. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QWebEngineHttpRequest other) clone()
Creates and returns a copy of this object.final boolean
equals
(QWebEngineHttpRequest other) boolean
int
hashCode()
Returns the objects's hash code computed byqHash(QWebEngineHttpRequest)
.final boolean
hasHeader
(byte [] headerName) Overloaded function forhasHeader(io.qt.core.QByteArray)
.final boolean
hasHeader
(QByteArray headerName) final QByteArray
header
(byte [] headerName) Overloaded function forheader(io.qt.core.QByteArray)
.final QByteArray
header
(QByteArray headerName) final QVector
<QByteArray> headers()
method()
final QByteArray
postData()
static QWebEngineHttpRequest
postRequest
(QUrl url, Map<String, String> postData) static QWebEngineHttpRequest
postRequest
(String url, Map<String, String> postData) Overloaded function forpostRequest(io.qt.core.QUrl, java.util.Map)
.final void
set
(QWebEngineHttpRequest other) Deprecated.final void
setHeader
(byte [] headerName, byte [] value) Overloaded function forsetHeader(io.qt.core.QByteArray, io.qt.core.QByteArray)
.final void
setHeader
(byte [] headerName, QByteArray value) Overloaded function forsetHeader(io.qt.core.QByteArray, io.qt.core.QByteArray)
.final void
setHeader
(QByteArray headerName, byte [] value) Overloaded function forsetHeader(io.qt.core.QByteArray, io.qt.core.QByteArray)
.final void
setHeader
(QByteArray headerName, QByteArray value) final void
final void
setPostData
(byte [] postData) Overloaded function forsetPostData(io.qt.core.QByteArray)
.final void
setPostData
(QByteArray postData) final void
final void
Overloaded function forsetUrl(io.qt.core.QUrl)
.final void
swap
(QWebEngineHttpRequest other) final void
unsetHeader
(byte [] headerName) Overloaded function forunsetHeader(io.qt.core.QByteArray)
.final void
unsetHeader
(QByteArray headerName) final QUrl
url()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QWebEngineHttpRequest
-
QWebEngineHttpRequest
-
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
Overloaded constructor for
QWebEngineHttpRequest(java.lang.String, io.qt.webengine.core.QWebEngineHttpRequest.Method)
withmethod = io.qt.webengine.core.QWebEngineHttpRequest.Method.Get
. -
QWebEngineHttpRequest
Overloaded constructor for
QWebEngineHttpRequest(io.qt.core.QUrl, io.qt.webengine.core.QWebEngineHttpRequest.Method)
.
-
-
Method Details
-
hasHeader
-
header
-
headers
-
method
-
assign
-
equals
-
postData
-
setHeader
-
setMethod
-
setPostData
-
setUrl
-
swap
-
unsetHeader
-
url
-
postRequest
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QWebEngineHttpRequest)
. -
clone
Creates and returns a copy of this object.
-
hasHeader
Overloaded function for
hasHeader(io.qt.core.QByteArray)
. -
header
Overloaded function for
header(io.qt.core.QByteArray)
. -
set
Deprecated.Useassign(io.qt.webengine.core.QWebEngineHttpRequest)
instead. -
setHeader
Overloaded function for
setHeader(io.qt.core.QByteArray, io.qt.core.QByteArray)
. -
setHeader
Overloaded function for
setHeader(io.qt.core.QByteArray, io.qt.core.QByteArray)
. -
setHeader
Overloaded function for
setHeader(io.qt.core.QByteArray, io.qt.core.QByteArray)
. -
setPostData
Overloaded function for
setPostData(io.qt.core.QByteArray)
. -
setUrl
Overloaded function for
setUrl(io.qt.core.QUrl)
. -
unsetHeader
Overloaded function for
unsetHeader(io.qt.core.QByteArray)
. -
postRequest
Overloaded function for
postRequest(io.qt.core.QUrl, java.util.Map)
.
-
assign(io.qt.webengine.core.QWebEngineHttpRequest)
instead.