java.lang.Object
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's 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 TypeMethodDescriptionfinal voidassign(QWebEngineHttpRequest other) clone()Creates and returns a copy of this object.booleanUsed 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.inthashCode()final booleanhasHeader(io.qt.core.QByteArray headerName) final io.qt.core.QByteArrayheader(io.qt.core.QByteArray headerName) final io.qt.core.QVector<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) Deprecated.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.QVector<io.qt.core.QByteArray> headers() -
method
-
set
Deprecated.Useassign(io.qt.webengine.core.QWebEngineHttpRequest)instead. -
assign
-
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 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.- Overrides:
equalsin classio.qt.QtObject- Parameters:
other- other object- Returns:
- true if the native counterpart of the two objects are one and the same.
-
hashCode
@QtUninvokable public int hashCode() -
clone
Creates and returns a copy of this object.
-
assign(io.qt.webengine.core.QWebEngineHttpRequest)instead.