- 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
-
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()
String
peerHostName()
int
peerPort()
String
protocolTag()
QNetworkProxyQuery.QueryType
queryType()
void
setLocalPort(int port)
void
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
-
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
-
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 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
-