java.lang.Object
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 objectConstructs a QWebSocketHandshakeOptions that is a copy of otherprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QWebSocketHandshakeOptions other) Assigns other to this objectclone()
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 void
set
(QWebSocketHandshakeOptions other) Deprecated.final void
setSubprotocols
(Collection<String> protocols) Sets the list of WebSocket subprotocols protocols to send along with the websocket handshakefinal QStringList
Returns the list of WebSocket subprotocols to send along with the websocket handshakefinal void
swap
(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
Deprecated.Useassign(io.qt.websockets.QWebSocketHandshakeOptions)
instead. -
assign
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: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
-
clone
-
assign(io.qt.websockets.QWebSocketHandshakeOptions)
instead.