java.lang.Object
io.qt.QtObject
io.qt.webengine.core.QWebEngineHttpRequest
- All Implemented Interfaces:
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
QtObject.QPrivateConstructor -
Constructor Summary
ConstructorsModifierConstructorDescriptionOverloaded 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) protectedConstructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal voidassign(QWebEngineHttpRequest other) clone()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(QByteArray headerName) final QByteArrayheader(QByteArray headerName) final QList<QByteArray>headers()method()final QByteArraypostData()static QWebEngineHttpRequestpostRequest(QUrl url, Map<String, String> postData) final voidset(QWebEngineHttpRequest other) Deprecated.final voidsetHeader(QByteArray headerName, QByteArray value) final voidfinal voidsetPostData(QByteArray postData) final voidfinal voidswap(QWebEngineHttpRequest other) final voidunsetHeader(QByteArray headerName) final QUrlurl()Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
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
Deprecated.Useassign(io.qt.webengine.core.QWebEngineHttpRequest)instead. -
assign
-
postData
-
setHeader
-
setMethod
-
setPostData
-
setUrl
-
swap
-
unsetHeader
-
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. -
hashCode
-
clone
-
assign(io.qt.webengine.core.QWebEngineHttpRequest)instead.