java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.network.QNetworkProxy
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QNetworkProxy extends QtObject implements Cloneable
Network layer proxy
Java wrapper for Qt class QNetworkProxy
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QNetworkProxy.Capabilities
QFlags type for enumQNetworkProxy.Capability
static class
QNetworkProxy.Capability
Java wrapper for Qt enum QNetworkProxy::Capabilitystatic class
QNetworkProxy.ProxyType
Java wrapper for Qt enum QNetworkProxy::ProxyType -
Constructor Summary
Constructors Modifier Constructor Description QNetworkProxy()
QNetworkProxy(QNetworkProxy other)
QNetworkProxy(QNetworkProxy.ProxyType type)
QNetworkProxy(QNetworkProxy.ProxyType type, String host)
QNetworkProxy(QNetworkProxy.ProxyType type, String host, int port)
QNetworkProxy(QNetworkProxy.ProxyType type, String host, int port, String username)
QNetworkProxy(QNetworkProxy.ProxyType type, String host, int port, String username, String password)
protected
QNetworkProxy(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
-
Constructor Details
-
QNetworkProxy
public QNetworkProxy() -
QNetworkProxy
-
QNetworkProxy
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
QNetworkProxy
-
QNetworkProxy
-
QNetworkProxy
-
QNetworkProxy
-
QNetworkProxy
public QNetworkProxy(QNetworkProxy.ProxyType type, String host, int port, String username, String password)
-
-
Method Details
-
capabilities
-
hasRawHeader
-
header
-
hostName
-
isCachingProxy
-
isTransparentProxy
-
password
-
rawHeader
-
rawHeaderList
-
setCapabilities
Overloaded function for
setCapabilities(io.qt.network.QNetworkProxy.Capabilities)
. -
setCapabilities
-
setHeader
-
setHostName
-
setPassword
-
setRawHeader
-
setType
-
setUser
-
swap
-
type
-
user
-
applicationProxy
-
setApplicationProxy
-
equals
Description copied from class:QtObject
Used 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. -
hashCode
public int hashCode() -
setPort
public final void setPort(int port) -
port
public final int port() -
toString
-
clone
-