- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QNetworkProxyQuery extends QtObject implements Cloneable
Used to query the proxy settings for a socket
Java wrapper for Qt class QNetworkProxyQuery
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QNetworkProxyQuery.QueryType
Java wrapper for Qt enum QNetworkProxyQuery::QueryType -
Field Summary
Fields Modifier and Type Field Description static QMetaObject
staticMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
Constructors Modifier Constructor Description QNetworkProxyQuery()
QNetworkProxyQuery(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)
QNetworkProxyQuery(QNetworkConfiguration networkConfiguration, short bindPort)
Deprecated.QNetworkConfiguration support in QNetworkProxy is deprecatedQNetworkProxyQuery(QNetworkConfiguration networkConfiguration, short bindPort, String protocolTag)
Deprecated.QNetworkConfiguration support in QNetworkProxy is deprecatedQNetworkProxyQuery(QNetworkConfiguration networkConfiguration, short bindPort, String protocolTag, QNetworkProxyQuery.QueryType queryType)
Deprecated.QNetworkConfiguration support in QNetworkProxy is deprecatedQNetworkProxyQuery(QNetworkConfiguration networkConfiguration, QUrl requestUrl)
Deprecated.QNetworkConfiguration support in QNetworkProxy is deprecatedQNetworkProxyQuery(QNetworkConfiguration networkConfiguration, QUrl requestUrl, QNetworkProxyQuery.QueryType queryType)
Deprecated.QNetworkConfiguration support in QNetworkProxy is deprecatedQNetworkProxyQuery(QNetworkConfiguration networkConfiguration, String hostname, int port)
Deprecated.QNetworkConfiguration support in QNetworkProxy is deprecatedQNetworkProxyQuery(QNetworkConfiguration networkConfiguration, String hostname, int port, String protocolTag)
Deprecated.QNetworkConfiguration support in QNetworkProxy is deprecatedQNetworkProxyQuery(QNetworkConfiguration networkConfiguration, String hostname, int port, String protocolTag, QNetworkProxyQuery.QueryType queryType)
Deprecated.QNetworkConfiguration support in QNetworkProxy is deprecatedQNetworkProxyQuery(QNetworkProxyQuery other)
protected
QNetworkProxyQuery(QtObject.QPrivateConstructor p)
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 Type Method Description QNetworkProxyQuery
clone()
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.int
hashCode()
int
localPort()
QNetworkConfiguration
networkConfiguration()
Deprecated.QNetworkConfiguration support in QNetworkProxy is deprecatedString
peerHostName()
int
peerPort()
String
protocolTag()
QNetworkProxyQuery.QueryType
queryType()
void
setLocalPort(int port)
void
setNetworkConfiguration(QNetworkConfiguration networkConfiguration)
Deprecated.QNetworkConfiguration support in QNetworkProxy is deprecatedvoid
setPeerHostName(String hostname)
void
setPeerPort(int port)
void
setProtocolTag(String protocolTag)
void
setQueryType(QNetworkProxyQuery.QueryType type)
void
setUrl(QUrl url)
void
swap(QNetworkProxyQuery other)
String
toString()
QUrl
url()
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QNetworkProxyQuery
public QNetworkProxyQuery() -
QNetworkProxyQuery
@Deprecated public QNetworkProxyQuery(QNetworkConfiguration networkConfiguration, String hostname, int port, String protocolTag)Deprecated.QNetworkConfiguration support in QNetworkProxy is deprecatedOverloaded constructor for
QNetworkProxyQuery(io.qt.network.QNetworkConfiguration, java.lang.String, int, java.lang.String, io.qt.network.QNetworkProxyQuery.QueryType)
withqueryType = io.qt.network.QNetworkProxyQuery.QueryType.TcpSocket
. -
QNetworkProxyQuery
@Deprecated public QNetworkProxyQuery(QNetworkConfiguration networkConfiguration, String hostname, int port)Deprecated.QNetworkConfiguration support in QNetworkProxy is deprecatedOverloaded constructor for
QNetworkProxyQuery(io.qt.network.QNetworkConfiguration, java.lang.String, int, java.lang.String, io.qt.network.QNetworkProxyQuery.QueryType)
with:
protocolTag = ""
queryType = io.qt.network.QNetworkProxyQuery.QueryType.TcpSocket
-
QNetworkProxyQuery
@Deprecated public QNetworkProxyQuery(QNetworkConfiguration networkConfiguration, String hostname, int port, String protocolTag, QNetworkProxyQuery.QueryType queryType)Deprecated.QNetworkConfiguration support in QNetworkProxy is deprecated -
QNetworkProxyQuery
Deprecated.QNetworkConfiguration support in QNetworkProxy is deprecatedOverloaded constructor for
QNetworkProxyQuery(io.qt.network.QNetworkConfiguration, io.qt.core.QUrl, io.qt.network.QNetworkProxyQuery.QueryType)
withqueryType = io.qt.network.QNetworkProxyQuery.QueryType.UrlRequest
. -
QNetworkProxyQuery
@Deprecated public QNetworkProxyQuery(QNetworkConfiguration networkConfiguration, QUrl requestUrl, QNetworkProxyQuery.QueryType queryType)Deprecated.QNetworkConfiguration support in QNetworkProxy is deprecated -
QNetworkProxyQuery
@Deprecated public QNetworkProxyQuery(QNetworkConfiguration networkConfiguration, short bindPort, String protocolTag)Deprecated.QNetworkConfiguration support in QNetworkProxy is deprecatedOverloaded constructor for
QNetworkProxyQuery(io.qt.network.QNetworkConfiguration, short, java.lang.String, io.qt.network.QNetworkProxyQuery.QueryType)
withqueryType = io.qt.network.QNetworkProxyQuery.QueryType.TcpServer
. -
QNetworkProxyQuery
Deprecated.QNetworkConfiguration support in QNetworkProxy is deprecatedOverloaded constructor for
QNetworkProxyQuery(io.qt.network.QNetworkConfiguration, short, java.lang.String, io.qt.network.QNetworkProxyQuery.QueryType)
with:
protocolTag = ""
queryType = io.qt.network.QNetworkProxyQuery.QueryType.TcpServer
-
QNetworkProxyQuery
@Deprecated public QNetworkProxyQuery(QNetworkConfiguration networkConfiguration, short bindPort, String protocolTag, QNetworkProxyQuery.QueryType queryType)Deprecated.QNetworkConfiguration support in QNetworkProxy is deprecated -
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 = ""
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 = ""
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
-
networkConfiguration
Deprecated.QNetworkConfiguration support in QNetworkProxy is deprecated -
peerHostName
-
peerPort
-
protocolTag
-
queryType
-
setLocalPort
-
setNetworkConfiguration
@Deprecated @QtUninvokable public final void setNetworkConfiguration(QNetworkConfiguration networkConfiguration)Deprecated.QNetworkConfiguration support in QNetworkProxy is deprecated -
setPeerHostName
-
setPeerPort
-
setProtocolTag
-
setQueryType
-
setUrl
-
swap
-
url
-
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
-
toString
-
clone
-