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's class QWebSocketCorsAuthenticator
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQWebSocketCorsAuthenticator
(String origin) protected
Constructor for internal use only. -
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
-
QWebSocketCorsAuthenticator
-
QWebSocketCorsAuthenticator
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
allowed
-
set
Deprecated.Useassign(io.qt.websockets.QWebSocketCorsAuthenticator)
instead. -
assign
-
origin
-
setAllowed
-
swap
-
clone
Creates and returns a copy of this object.
-
assign(io.qt.websockets.QWebSocketCorsAuthenticator)
instead.