All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.websockets.QWebSocketCorsAuthenticator Maven / Gradle / Ivy

There is a newer version: 6.3.0
Show newest version
package io.qt.websockets;


/**
 * 

Authenticator object for Cross Origin Requests (CORS)

*

Java wrapper for Qt class QWebSocketCorsAuthenticator

*/ public class QWebSocketCorsAuthenticator extends io.qt.QtObject implements java.lang.Cloneable { static { QtJambi_LibraryUtilities.initialize(); } /** *

See QWebSocketCorsAuthenticator::QWebSocketCorsAuthenticator(QString)

*/ public QWebSocketCorsAuthenticator(java.lang.String origin){ super((QPrivateConstructor)null); initialize_native(this, origin); } private native static void initialize_native(QWebSocketCorsAuthenticator instance, java.lang.String origin); /** *

See QWebSocketCorsAuthenticator::QWebSocketCorsAuthenticator(QWebSocketCorsAuthenticator)

*/ public QWebSocketCorsAuthenticator(io.qt.websockets.QWebSocketCorsAuthenticator other){ super((QPrivateConstructor)null); initialize_native(this, other); } private native static void initialize_native(QWebSocketCorsAuthenticator instance, io.qt.websockets.QWebSocketCorsAuthenticator other); /** *

See QWebSocketCorsAuthenticator::allowed()const

*/ @io.qt.QtUninvokable public final boolean allowed(){ return allowed_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native boolean allowed_native_constfct(long __this__nativeId); /** *

See QWebSocketCorsAuthenticator::operator=(QWebSocketCorsAuthenticator)

*/ @io.qt.QtUninvokable public final void set(io.qt.websockets.QWebSocketCorsAuthenticator other){ set_native_cref_QWebSocketCorsAuthenticator(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @io.qt.QtUninvokable private native void set_native_cref_QWebSocketCorsAuthenticator(long __this__nativeId, long other); /** *

See QWebSocketCorsAuthenticator::origin()const

*/ @io.qt.QtUninvokable public final java.lang.String origin(){ return origin_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @io.qt.QtUninvokable private native java.lang.String origin_native_constfct(long __this__nativeId); /** *

See QWebSocketCorsAuthenticator::setAllowed(bool)

*/ @io.qt.QtUninvokable public final void setAllowed(boolean allowed){ setAllowed_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), allowed); } @io.qt.QtUninvokable private native void setAllowed_native_bool(long __this__nativeId, boolean allowed); /** *

See QWebSocketCorsAuthenticator::swap(QWebSocketCorsAuthenticator&)

*/ @io.qt.QtUninvokable public final void swap(io.qt.websockets.QWebSocketCorsAuthenticator other){ java.util.Objects.requireNonNull(other, "Argument 'other': null not expected."); swap_native_ref_QWebSocketCorsAuthenticator(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @io.qt.QtUninvokable private native void swap_native_ref_QWebSocketCorsAuthenticator(long __this__nativeId, long other); /** * Constructor for internal use only. * @param p expected to be null. */ @io.qt.NativeAccess protected QWebSocketCorsAuthenticator(QPrivateConstructor p) { super(p); } @Override public QWebSocketCorsAuthenticator clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private native QWebSocketCorsAuthenticator clone_native(long __this_nativeId); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy