java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.webengine.core.QWebEngineHttpRequest
- All Implemented Interfaces:
io.qt.QtObjectInterface,Cloneable
Holds a request to be sent with WebEngine
Java wrapper for Qt class QWebEngineHttpRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumJava wrapper for Qt enum QWebEngineHttpRequest::MethodNested classes/interfaces inherited from class io.qt.QtObject
io.qt.QtObject.QPrivateConstructor -
Constructor Summary
ConstructorsModifierConstructorDescriptionOverloaded constructor forQWebEngineHttpRequest(io.qt.core.QUrl, io.qt.webengine.core.QWebEngineHttpRequest.Method)QWebEngineHttpRequest(io.qt.core.QUrl url) Overloaded constructor forQWebEngineHttpRequest(io.qt.core.QUrl, io.qt.webengine.core.QWebEngineHttpRequest.Method)withmethod = io.qt.webengine.core.QWebEngineHttpRequest.Method.Get.QWebEngineHttpRequest(io.qt.core.QUrl url, QWebEngineHttpRequest.Method method) protectedQWebEngineHttpRequest(io.qt.QtObject.QPrivateConstructor p) Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanUsed to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.inthashCode()final booleanhasHeader(io.qt.core.QByteArray headerName) final io.qt.core.QByteArrayheader(io.qt.core.QByteArray headerName) final io.qt.core.QList<io.qt.core.QByteArray>headers()method()final io.qt.core.QByteArraypostData()static QWebEngineHttpRequestpostRequest(io.qt.core.QUrl url, Map<String, String> postData) final voidset(QWebEngineHttpRequest other) final voidsetHeader(io.qt.core.QByteArray headerName, io.qt.core.QByteArray value) final voidfinal voidsetPostData(io.qt.core.QByteArray postData) final voidsetUrl(io.qt.core.QUrl url) final voidswap(QWebEngineHttpRequest other) final voidunsetHeader(io.qt.core.QByteArray headerName) final io.qt.core.QUrlurl()Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QWebEngineHttpRequest
public QWebEngineHttpRequest(io.qt.core.QUrl url) 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
protected QWebEngineHttpRequest(io.qt.QtObject.QPrivateConstructor p) Constructor for internal use only.- Parameters:
p- expected to benull.
-
-
Method Details
-
hasHeader
@QtUninvokable public final boolean hasHeader(io.qt.core.QByteArray headerName) -
header
@QtUninvokable public final io.qt.core.QByteArray header(io.qt.core.QByteArray headerName) -
headers
@QtUninvokable public final io.qt.core.QList<io.qt.core.QByteArray> headers() -
method
-
set
-
postData
@QtUninvokable public final io.qt.core.QByteArray postData() -
setHeader
@QtUninvokable public final void setHeader(io.qt.core.QByteArray headerName, io.qt.core.QByteArray value) -
setMethod
-
setPostData
@QtUninvokable public final void setPostData(io.qt.core.QByteArray postData) -
setUrl
@QtUninvokable public final void setUrl(io.qt.core.QUrl url) -
swap
-
unsetHeader
@QtUninvokable public final void unsetHeader(io.qt.core.QByteArray headerName) -
url
@QtUninvokable public final io.qt.core.QUrl url() -
postRequest
-
equals
Description copied from class:io.qt.QtObjectUsed 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.- Overrides:
equalsin classio.qt.QtObject- Parameters:
other- The object with which to compare- Returns:
- true if the native resources of the two objects are one and the same.
-
hashCode
@QtUninvokable public int hashCode() -
clone
-