java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.websockets.QWebSocketHandshakeOptions
- All Implemented Interfaces:
QtObjectInterface,Cloneable
Collects options for the WebSocket handshake
Java wrapper for Qt's class QWebSocketHandshakeOptions
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor -
Constructor Summary
ConstructorsModifierConstructorDescriptionConstructs an empty QWebSocketHandshakeOptions objectprotectedConstructor for internal use only.Constructs a QWebSocketHandshakeOptions that is a copy of other -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanUsed to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.inthashCode()final voidset(QWebSocketHandshakeOptions other) Assigns other to this objectfinal voidsetSubprotocols(Collection<String> protocols) Sets the list of WebSocket subprotocols protocols to send along with the websocket handshakefinal QStringListReturns the list of WebSocket subprotocols to send along with the websocket handshakefinal voidswap(QWebSocketHandshakeOptions other) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QWebSocketHandshakeOptions
public QWebSocketHandshakeOptions()Constructs an empty QWebSocketHandshakeOptions object
See QWebSocketHandshakeOptions::QWebSocketHandshakeOptions()
-
QWebSocketHandshakeOptions
Constructs a QWebSocketHandshakeOptions that is a copy of other
See QWebSocketHandshakeOptions::QWebSocketHandshakeOptions(QWebSocketHandshakeOptions)
-
QWebSocketHandshakeOptions
Constructor for internal use only.- Parameters:
p- expected to benull.
-
-
Method Details
-
set
Assigns other to this object
See QWebSocketHandshakeOptions::operator=(QWebSocketHandshakeOptions)
-
setSubprotocols
Sets the list of WebSocket subprotocols protocols to send along with the websocket handshake
See QWebSocketHandshakeOptions::setSubprotocols(QStringList)
-
subprotocols
Returns the list of WebSocket subprotocols to send along with the websocket handshake
-
swap
-
equals
Description copied from class:io.qt.QtObjectUsed 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
-
clone
-