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 class QWebEngineHttpRequest
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumJava wrapper for Qt enumQWebEngineHttpRequest::MethodNested classes/interfaces inherited from class io.qt.QtObject
io.qt.QtObject.QPrivateConstructor -
Constructor Summary
ConstructorsConstructorDescriptionOverloaded 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) -
Method Summary
Modifier and TypeMethodDescriptionfinal voidassign(QWebEngineHttpRequest other) clone()Creates and returns a copy of this object.booleaninthashCode()Returns the objects's hash code computed byqHash(QWebEngineHttpRequest).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) 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
-
QWebEngineHttpRequest
-
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
-
-
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
-
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
- 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()Returns the objects's hash code computed byqHash(QWebEngineHttpRequest). -
clone
Creates and returns a copy of this object.
-
set
Deprecated.Useassign(io.qt.webengine.core.QWebEngineHttpRequest)instead.
-
assign(io.qt.webengine.core.QWebEngineHttpRequest)instead.