- All Implemented Interfaces:
QtObjectInterface
The base class for QHttpServerRouter rules
Java wrapper for Qt class QHttpServerRouterRule
- Since:
- This class was introduced in Qt 6.4.
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionQHttpServerRouterRule
(String pathPattern, Receiver receiver, QMetaObject.Slot4<Receiver, QRegularExpressionMatch, QHttpServerRequest, QHttpServerResponder> func) SeeQHttpServerRouterRule::
QHttpServerRouterRule<Handler>(QString, const QObject*, Handler&&) QHttpServerRouterRule
(String pathPattern, QObject context, QMetaObject.Slot3<QRegularExpressionMatch, QHttpServerRequest, QHttpServerResponder> func) SeeQHttpServerRouterRule::
QHttpServerRouterRule<Handler>(QString, const QObject*, Handler&&) QHttpServerRouterRule
(String pathPattern, QMetaObject.Slot3<QRegularExpressionMatch, QHttpServerRequest, QHttpServerResponder> func) SeeQHttpServerRouterRule::
QHttpServerRouterRule<Handler>(QString,, Handler&&) QHttpServerRouterRule
(String pathPattern, QHttpServerRequest.Methods methods, Receiver receiver, QMetaObject.Slot4<Receiver, QRegularExpressionMatch, QHttpServerRequest, QHttpServerResponder> func) SeeQHttpServerRouterRule::
QHttpServerRouterRule<Handler>(QString, const QHttpServerRequest::Methods, const QObject*, Handler&&) QHttpServerRouterRule
(String pathPattern, QHttpServerRequest.Methods methods, QObject context, QMetaObject.Slot3<QRegularExpressionMatch, QHttpServerRequest, QHttpServerResponder> func) SeeQHttpServerRouterRule::
QHttpServerRouterRule<Handler>(QString, const QHttpServerRequest::Methods, const QObject*, Handler&&) QHttpServerRouterRule
(String pathPattern, QHttpServerRequest.Methods methods, QMetaObject.Slot3<QRegularExpressionMatch, QHttpServerRequest, QHttpServerResponder> func) SeeQHttpServerRouterRule::
QHttpServerRouterRule<Handler>(QString, const QHttpServerRequest::Methods, const QObject*, Handler&&) -
Method Summary
Modifier and TypeMethodDescriptionfinal QObject
protected final boolean
createPathRegexp
(QMetaType [] metaTypes, Map<? extends QMetaType, String> converters) SeeQHttpServerRouterRule::
createPathRegexp(std::initializer_list<QMetaType>, QHash<QMetaType, QString>) protected final boolean
exec
(QHttpServerRequest request, QHttpServerResponder responder) protected final boolean
protected boolean
matches
(QHttpServerRequest request, QRegularExpressionMatch match) Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QHttpServerRouterRule
public QHttpServerRouterRule(String pathPattern, QMetaObject.Slot3<QRegularExpressionMatch, QHttpServerRequest, QHttpServerResponder> func) See
QHttpServerRouterRule::
QHttpServerRouterRule<Handler>(QString,, Handler&&) - Parameters:
pathPattern
-func
-
-
QHttpServerRouterRule
public QHttpServerRouterRule(String pathPattern, QObject context, QMetaObject.Slot3<QRegularExpressionMatch, QHttpServerRequest, QHttpServerResponder> func) See
QHttpServerRouterRule::
QHttpServerRouterRule<Handler>(QString, const QObject*, Handler&&) - Parameters:
pathPattern
-context
-func
-
-
QHttpServerRouterRule
public QHttpServerRouterRule(String pathPattern, QHttpServerRequest.Methods methods, QMetaObject.Slot3<QRegularExpressionMatch, QHttpServerRequest, QHttpServerResponder> func) See
QHttpServerRouterRule::
QHttpServerRouterRule<Handler>(QString, const QHttpServerRequest::Methods, const QObject*, Handler&&) - Parameters:
pathPattern
-methods
-func
-
-
QHttpServerRouterRule
public QHttpServerRouterRule(String pathPattern, QHttpServerRequest.Methods methods, QObject context, QMetaObject.Slot3<QRegularExpressionMatch, QHttpServerRequest, QHttpServerResponder> func) See
QHttpServerRouterRule::
QHttpServerRouterRule<Handler>(QString, const QHttpServerRequest::Methods, const QObject*, Handler&&) - Parameters:
pathPattern
-methods
-context
-func
-
-
QHttpServerRouterRule
public QHttpServerRouterRule(String pathPattern, Receiver receiver, QMetaObject.Slot4<Receiver, QRegularExpressionMatch, QHttpServerRequest, QHttpServerResponder> func) See
QHttpServerRouterRule::
QHttpServerRouterRule<Handler>(QString, const QObject*, Handler&&) - Parameters:
pathPattern
-func
-
-
QHttpServerRouterRule
public QHttpServerRouterRule(String pathPattern, QHttpServerRequest.Methods methods, Receiver receiver, QMetaObject.Slot4<Receiver, QRegularExpressionMatch, QHttpServerRequest, QHttpServerResponder> func) See
QHttpServerRouterRule::
QHttpServerRouterRule<Handler>(QString, const QHttpServerRequest::Methods, const QObject*, Handler&&) - Parameters:
pathPattern
-methods
-func
-
-
-
Method Details
-
contextObject
- Returns:
-
createPathRegexp
@QtUninvokable protected final boolean createPathRegexp(QMetaType [] metaTypes, Map<? extends QMetaType, String> converters) See
QHttpServerRouterRule::
createPathRegexp(std::initializer_list<QMetaType>, QHash<QMetaType, QString>) - Parameters:
metaTypes
-converters
-- Returns:
-
exec
@QtUninvokable protected final boolean exec(QHttpServerRequest request, QHttpServerResponder responder) - Parameters:
request
-responder
-- Returns:
-
hasValidMethods
- Returns:
-
matches
- Parameters:
request
-match
-- Returns:
-