java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.webengine.core.QWebEngineHttpRequest
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QWebEngineHttpRequest extends QtObject implements Cloneable
Holds a request to be sent with WebEngine
Java wrapper for Qt class QWebEngineHttpRequest
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QWebEngineHttpRequest.Method
Java wrapper for Qt enum QWebEngineHttpRequest::Method -
Constructor Summary
Constructors Modifier Constructor Description QWebEngineHttpRequest()
Overloaded constructor forQWebEngineHttpRequest(io.qt.core.QUrl, io.qt.webengine.core.QWebEngineHttpRequest.Method)
QWebEngineHttpRequest(QUrl url)
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
QWebEngineHttpRequest(QtObject.QPrivateConstructor p)
Constructor for internal use only.QWebEngineHttpRequest(QWebEngineHttpRequest other)
-
Method Summary
Modifier and Type Method Description QWebEngineHttpRequest
clone()
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.int
hashCode()
boolean
hasHeader(QByteArray headerName)
QByteArray
header(QByteArray headerName)
QVector<QByteArray>
headers()
QWebEngineHttpRequest.Method
method()
QByteArray
postData()
static QWebEngineHttpRequest
postRequest(QUrl url, Map<String,String> postData)
void
set(QWebEngineHttpRequest other)
void
setHeader(QByteArray headerName, QByteArray value)
void
setMethod(QWebEngineHttpRequest.Method method)
void
setPostData(QByteArray postData)
void
setUrl(QUrl url)
void
swap(QWebEngineHttpRequest other)
void
unsetHeader(QByteArray headerName)
QUrl
url()
-
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 native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-