- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Used to query the proxy settings for a socket
Java wrapper for Qt class QNetworkProxyQuery
- Since:
- This class was introduced in Qt 4.5.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQNetworkProxyQuery::QueryType
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ConstructorDescriptionQNetworkProxyQuery
(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) QNetworkProxyQuery
(QNetworkConfiguration networkConfiguration, short bindPort, String protocolTag) Overloaded constructor forQNetworkProxyQuery(io.qt.network.QNetworkConfiguration, short, java.lang.String, io.qt.network.QNetworkProxyQuery.QueryType)
withqueryType = io.qt.network.QNetworkProxyQuery.QueryType.TcpServer
.QNetworkProxyQuery
(QNetworkConfiguration networkConfiguration, short bindPort, String protocolTag, QNetworkProxyQuery.QueryType queryType) QNetworkProxyQuery
(QNetworkConfiguration networkConfiguration, QUrl requestUrl) Overloaded constructor forQNetworkProxyQuery(io.qt.network.QNetworkConfiguration, io.qt.core.QUrl, io.qt.network.QNetworkProxyQuery.QueryType)
withqueryType = io.qt.network.QNetworkProxyQuery.QueryType.UrlRequest
.QNetworkProxyQuery
(QNetworkConfiguration networkConfiguration, QUrl requestUrl, QNetworkProxyQuery.QueryType queryType) QNetworkProxyQuery
(QNetworkConfiguration networkConfiguration, String requestUrl) Overloaded constructor forQNetworkProxyQuery(io.qt.network.QNetworkConfiguration, java.lang.String, io.qt.network.QNetworkProxyQuery.QueryType)
withqueryType = io.qt.network.QNetworkProxyQuery.QueryType.UrlRequest
.QNetworkProxyQuery
(QNetworkConfiguration networkConfiguration, String hostname, int port) QNetworkProxyQuery
(QNetworkConfiguration networkConfiguration, String hostname, int port, String protocolTag) Overloaded constructor forQNetworkProxyQuery(io.qt.network.QNetworkConfiguration, java.lang.String, int, java.lang.String, io.qt.network.QNetworkProxyQuery.QueryType)
withqueryType = io.qt.network.QNetworkProxyQuery.QueryType.TcpSocket
.QNetworkProxyQuery
(QNetworkConfiguration networkConfiguration, String hostname, int port, String protocolTag, QNetworkProxyQuery.QueryType queryType) QNetworkProxyQuery
(QNetworkConfiguration networkConfiguration, String requestUrl, QNetworkProxyQuery.QueryType queryType) QNetworkProxyQuery
(String requestUrl) Overloaded constructor forQNetworkProxyQuery(java.lang.String, io.qt.network.QNetworkProxyQuery.QueryType)
withqueryType = io.qt.network.QNetworkProxyQuery.QueryType.UrlRequest
.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) QNetworkProxyQuery
(String requestUrl, QNetworkProxyQuery.QueryType queryType) Overloaded constructor forQNetworkProxyQuery(io.qt.core.QUrl, io.qt.network.QNetworkProxyQuery.QueryType)
. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QNetworkProxyQuery other) clone()
Creates and returns a copy of this object.final boolean
equals
(QNetworkProxyQuery other) boolean
int
hashCode()
Returns the objects's hash code computed byqHash(QNetworkProxyQuery)
.final int
final QNetworkConfiguration
final String
final int
peerPort()
final String
final void
setLocalPort
(int port) final void
setNetworkConfiguration
(QNetworkConfiguration networkConfiguration) final void
setPeerHostName
(String hostname) final void
setPeerPort
(int port) final void
setProtocolTag
(String protocolTag) final void
final void
final void
Overloaded function forsetUrl(io.qt.core.QUrl)
.final void
swap
(QNetworkProxyQuery other) toString()
Seeoperator<<(QDebug,
QNetworkProxyQuery) 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
public QNetworkProxyQuery(QNetworkConfiguration networkConfiguration, String hostname, int port, String protocolTag, QNetworkProxyQuery.QueryType queryType) - Parameters:
networkConfiguration
-hostname
-port
-protocolTag
-queryType
-
-
QNetworkProxyQuery
public QNetworkProxyQuery(QNetworkConfiguration networkConfiguration, QUrl requestUrl, QNetworkProxyQuery.QueryType queryType) See
QNetworkProxyQuery::
QNetworkProxyQuery(QNetworkConfiguration, QUrl, QNetworkProxyQuery::QueryType) - Parameters:
networkConfiguration
-requestUrl
-queryType
-
-
QNetworkProxyQuery
public QNetworkProxyQuery(QNetworkConfiguration networkConfiguration, short bindPort, String protocolTag, QNetworkProxyQuery.QueryType queryType) - Parameters:
networkConfiguration
-bindPort
-protocolTag
-queryType
-
-
QNetworkProxyQuery
- Parameters:
other
-
-
QNetworkProxyQuery
public QNetworkProxyQuery(String hostname, int port, String protocolTag, QNetworkProxyQuery.QueryType queryType) - Parameters:
hostname
-port
-protocolTag
-queryType
-
-
QNetworkProxyQuery
- Parameters:
requestUrl
-queryType
-
-
QNetworkProxyQuery
public QNetworkProxyQuery(short bindPort, String protocolTag, QNetworkProxyQuery.QueryType queryType) - Parameters:
bindPort
-protocolTag
-queryType
-
-
QNetworkProxyQuery
public QNetworkProxyQuery(QNetworkConfiguration networkConfiguration, String hostname, int port, String protocolTag) Overloaded 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
Overloaded constructor for
QNetworkProxyQuery(io.qt.network.QNetworkConfiguration, java.lang.String, int, java.lang.String, io.qt.network.QNetworkProxyQuery.QueryType)
with:
protocolTag = (String)null
queryType = io.qt.network.QNetworkProxyQuery.QueryType.TcpSocket
-
QNetworkProxyQuery
Overloaded constructor for
QNetworkProxyQuery(io.qt.network.QNetworkConfiguration, io.qt.core.QUrl, io.qt.network.QNetworkProxyQuery.QueryType)
withqueryType = io.qt.network.QNetworkProxyQuery.QueryType.UrlRequest
. -
QNetworkProxyQuery
Overloaded constructor for
QNetworkProxyQuery(io.qt.network.QNetworkConfiguration, java.lang.String, io.qt.network.QNetworkProxyQuery.QueryType)
withqueryType = io.qt.network.QNetworkProxyQuery.QueryType.UrlRequest
. -
QNetworkProxyQuery
public QNetworkProxyQuery(QNetworkConfiguration networkConfiguration, String requestUrl, QNetworkProxyQuery.QueryType queryType) -
QNetworkProxyQuery
public QNetworkProxyQuery(QNetworkConfiguration networkConfiguration, short bindPort, String protocolTag) Overloaded constructor for
QNetworkProxyQuery(io.qt.network.QNetworkConfiguration, short, java.lang.String, io.qt.network.QNetworkProxyQuery.QueryType)
withqueryType = io.qt.network.QNetworkProxyQuery.QueryType.TcpServer
. -
QNetworkProxyQuery
Overloaded constructor for
QNetworkProxyQuery(io.qt.network.QNetworkConfiguration, short, java.lang.String, io.qt.network.QNetworkProxyQuery.QueryType)
with:
protocolTag = (String)null
queryType = io.qt.network.QNetworkProxyQuery.QueryType.TcpServer
-
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
Overloaded constructor for
QNetworkProxyQuery(io.qt.core.QUrl, io.qt.network.QNetworkProxyQuery.QueryType)
withqueryType = io.qt.network.QNetworkProxyQuery.QueryType.UrlRequest
. -
QNetworkProxyQuery
Overloaded constructor for
QNetworkProxyQuery(java.lang.String, io.qt.network.QNetworkProxyQuery.QueryType)
withqueryType = io.qt.network.QNetworkProxyQuery.QueryType.UrlRequest
. -
QNetworkProxyQuery
Overloaded constructor for
QNetworkProxyQuery(io.qt.core.QUrl, io.qt.network.QNetworkProxyQuery.QueryType)
. -
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
-
-
Method Details
-
localPort
- Returns:
-
networkConfiguration
- Returns:
-
assign
- Parameters:
other
-
-
equals
- Parameters:
other
-- Returns:
-
peerHostName
- Returns:
-
peerPort
- Returns:
-
protocolTag
- Returns:
-
queryType
- Returns:
-
setLocalPort
- Parameters:
port
-
-
setNetworkConfiguration
@QtUninvokable public final void setNetworkConfiguration(QNetworkConfiguration networkConfiguration) - Parameters:
networkConfiguration
-
-
setPeerHostName
- Parameters:
hostname
-
-
setPeerPort
- Parameters:
port
-
-
setProtocolTag
- Parameters:
protocolTag
-
-
setQueryType
- Parameters:
type
-
-
setUrl
- Parameters:
url
-
-
swap
- Parameters:
other
-- Since:
- This function was introduced in Qt 5.0.
-
url
- Returns:
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QNetworkProxyQuery)
. -
toString
See
operator<<(QDebug,
QNetworkProxyQuery) -
clone
Creates and returns a copy of this object.
See
QNetworkProxyQuery::
QNetworkProxyQuery(QNetworkProxyQuery) -
setUrl
Overloaded function for
setUrl(io.qt.core.QUrl)
.
-