java.lang.Object
io.qt.QtObject
io.qt.websockets.QWebSocketCorsAuthenticator
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Authenticator object for Cross Origin Requests (CORS)
Java wrapper for Qt class QWebSocketCorsAuthenticator
- Since:
- This class was introduced in Qt 5.3.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
allowed()
final void
clone()
Creates and returns a copy of this object.final String
origin()
final void
set
(QWebSocketCorsAuthenticator other) Deprecated.final void
setAllowed
(boolean allowed) final void
swap
(QWebSocketCorsAuthenticator other) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QWebSocketCorsAuthenticator
- Parameters:
origin
-
-
QWebSocketCorsAuthenticator
- Parameters:
other
-
-
-
Method Details
-
allowed
- Returns:
-
assign
- Parameters:
other
-
-
origin
- Returns:
-
setAllowed
- Parameters:
allowed
-
-
swap
- Parameters:
other
-
-
clone
Creates and returns a copy of this object.
See
QWebSocketCorsAuthenticator::
QWebSocketCorsAuthenticator(QWebSocketCorsAuthenticator) -
set
Deprecated.Useassign(io.qt.websockets.QWebSocketCorsAuthenticator)
instead.
-
assign(io.qt.websockets.QWebSocketCorsAuthenticator)
instead.