java.lang.Object
io.qt.QtObject
io.qt.httpserver.QHttpServerWebSocketUpgradeResponse
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Response to return when verifying WebSocket upgrades on HTTP server
Java wrapper for Qt class QHttpServerWebSocketUpgradeResponse
- Since:
- This class was introduced in Qt 6.8.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQHttpServerWebSocketUpgradeResponse::ResponseType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaccept()
final void
clone()
Creates and returns a copy of this object.deny()
deny
(int status, byte [] message) Overloaded function fordeny(int, io.qt.core.QByteArray)
.deny
(int status, QByteArray message) final QByteArray
final int
final boolean
Seeoperator==(QHttpServerWebSocketUpgradeResponse,
QHttpServerWebSocketUpgradeResponse) boolean
Seeoperator==(QHttpServerWebSocketUpgradeResponse,
QHttpServerWebSocketUpgradeResponse) int
hashCode()
Returns the objects's hash code computed byqHash(QHttpServerWebSocketUpgradeResponse)
.final void
type()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QHttpServerWebSocketUpgradeResponse
- Parameters:
other
-
-
-
Method Details
-
denyMessage
- Returns:
-
denyStatus
- Returns:
-
assign
- Parameters:
other
-
-
equals
See
operator==(QHttpServerWebSocketUpgradeResponse,
QHttpServerWebSocketUpgradeResponse) - Parameters:
value2
-- Returns:
-
swap
- Parameters:
other
-
-
type
- Returns:
-
accept
- Returns:
-
deny
- Returns:
-
deny
- Parameters:
status
-message
-- Returns:
-
passToNext
- Returns:
-
equals
See
operator==(QHttpServerWebSocketUpgradeResponse,
QHttpServerWebSocketUpgradeResponse) -
hashCode
Returns the objects's hash code computed byqHash(QHttpServerWebSocketUpgradeResponse)
. -
clone
Creates and returns a copy of this object.
-
deny
Overloaded function for
deny(int, io.qt.core.QByteArray)
.
-