java.lang.Object
io.qt.internal.NativeUtility.Object
io.qt.QtObject
io.qt.network.QNetworkProxy
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Network layer proxy
Java wrapper for Qt's class QNetworkProxy
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
QFlags type for enumQNetworkProxy.Capability
static enum
Java wrapper for Qt enum QNetworkProxy::Capabilitystatic enum
Java wrapper for Qt enum QNetworkProxy::ProxyTypeNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQNetworkProxy
(QNetworkProxy other) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionstatic QNetworkProxy
clone()
boolean
Used 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.int
hashCode()
final boolean
hasRawHeader
(QByteArray headerName) final Object
header
(QNetworkRequest.KnownHeaders header) final String
hostName()
final boolean
final boolean
final String
password()
final int
port()
final QByteArray
rawHeader
(QByteArray headerName) final QList<QByteArray>
static void
setApplicationProxy
(QNetworkProxy proxy) final void
final void
setCapabilities
(QNetworkProxy.Capability... capab) Overloaded function forsetCapabilities(io.qt.network.QNetworkProxy.Capabilities)
.final void
setHeader
(QNetworkRequest.KnownHeaders header, Object value) final void
setHostName
(String hostName) final void
setPassword
(String password) final void
setPort
(int port) final void
setRawHeader
(QByteArray headerName, QByteArray value) final void
final void
final void
swap
(QNetworkProxy other) toString()
final QNetworkProxy.ProxyType
type()
final String
user()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QNetworkProxy
public QNetworkProxy() -
QNetworkProxy
-
QNetworkProxy
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
capabilities
-
hasRawHeader
-
header
-
hostName
-
isCachingProxy
-
isTransparentProxy
-
password
-
port
-
rawHeader
-
rawHeaderList
-
setCapabilities
Overloaded function for
setCapabilities(io.qt.network.QNetworkProxy.Capabilities)
. -
setCapabilities
-
setHeader
-
setHostName
-
setPassword
-
setPort
-
setRawHeader
-
setType
-
setUser
-
swap
-
type
-
user
-
applicationProxy
-
setApplicationProxy
-
equals
Description copied from class:QtObject
Used 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
-
toString
-
clone
-