- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Used to query the proxy settings for a socket
Java wrapper for Qt's class QNetworkProxyQuery
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QNetworkProxyQuery::QueryTypeNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ModifierConstructorDescriptionQNetworkProxyQuery
(short bindPort) Overloaded constructor forQNetworkProxyQuery(short, java.lang.String, io.qt.network.QNetworkProxyQuery.QueryType)
QNetworkProxyQuery
(short bindPort, String protocolTag) Overloaded constructor forQNetworkProxyQuery(short, java.lang.String, io.qt.network.QNetworkProxyQuery.QueryType)
withqueryType = io.qt.network.QNetworkProxyQuery.QueryType.TcpServer
.QNetworkProxyQuery
(short bindPort, String protocolTag, QNetworkProxyQuery.QueryType queryType) QNetworkProxyQuery
(QUrl requestUrl) Overloaded constructor forQNetworkProxyQuery(io.qt.core.QUrl, io.qt.network.QNetworkProxyQuery.QueryType)
withqueryType = io.qt.network.QNetworkProxyQuery.QueryType.UrlRequest
.QNetworkProxyQuery
(QUrl requestUrl, QNetworkProxyQuery.QueryType queryType) protected
Constructor for internal use only.QNetworkProxyQuery
(String hostname, int port) Overloaded constructor forQNetworkProxyQuery(java.lang.String, int, java.lang.String, io.qt.network.QNetworkProxyQuery.QueryType)
QNetworkProxyQuery
(String hostname, int port, String protocolTag) Overloaded constructor forQNetworkProxyQuery(java.lang.String, int, java.lang.String, io.qt.network.QNetworkProxyQuery.QueryType)
withqueryType = io.qt.network.QNetworkProxyQuery.QueryType.TcpSocket
.QNetworkProxyQuery
(String hostname, int port, String protocolTag, QNetworkProxyQuery.QueryType queryType) -
Method Summary
Modifier and TypeMethodDescriptionclone()
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 int
final String
final int
peerPort()
final String
final void
setLocalPort
(int port) final void
setPeerHostName
(String hostname) final void
setPeerPort
(int port) final void
setProtocolTag
(String protocolTag) final void
final void
final void
swap
(QNetworkProxyQuery other) toString()
final QUrl
url()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QNetworkProxyQuery
public QNetworkProxyQuery() -
QNetworkProxyQuery
-
QNetworkProxyQuery
Overloaded constructor for
QNetworkProxyQuery(java.lang.String, int, java.lang.String, io.qt.network.QNetworkProxyQuery.QueryType)
withqueryType = io.qt.network.QNetworkProxyQuery.QueryType.TcpSocket
. -
QNetworkProxyQuery
Overloaded constructor for
QNetworkProxyQuery(java.lang.String, int, java.lang.String, io.qt.network.QNetworkProxyQuery.QueryType)
with:
protocolTag = (String)null
queryType = io.qt.network.QNetworkProxyQuery.QueryType.TcpSocket
-
QNetworkProxyQuery
public QNetworkProxyQuery(String hostname, int port, String protocolTag, QNetworkProxyQuery.QueryType queryType) -
QNetworkProxyQuery
Overloaded constructor for
QNetworkProxyQuery(io.qt.core.QUrl, io.qt.network.QNetworkProxyQuery.QueryType)
withqueryType = io.qt.network.QNetworkProxyQuery.QueryType.UrlRequest
. -
QNetworkProxyQuery
-
QNetworkProxyQuery
Overloaded constructor for
QNetworkProxyQuery(short, java.lang.String, io.qt.network.QNetworkProxyQuery.QueryType)
withqueryType = io.qt.network.QNetworkProxyQuery.QueryType.TcpServer
. -
QNetworkProxyQuery
public QNetworkProxyQuery(short bindPort) Overloaded constructor for
QNetworkProxyQuery(short, java.lang.String, io.qt.network.QNetworkProxyQuery.QueryType)
with:
protocolTag = (String)null
queryType = io.qt.network.QNetworkProxyQuery.QueryType.TcpServer
-
QNetworkProxyQuery
public QNetworkProxyQuery(short bindPort, String protocolTag, QNetworkProxyQuery.QueryType queryType) -
QNetworkProxyQuery
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
localPort
-
peerHostName
-
peerPort
-
protocolTag
-
queryType
-
setLocalPort
-
setPeerHostName
-
setPeerPort
-
setProtocolTag
-
setQueryType
-
setUrl
-
swap
-
url
-
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
-