java.lang.Object
io.qt.QtObject
io.qt.httpserver.QHttpServerRouterRule
- All Implemented Interfaces:
QtObjectInterface
The base class for QHttpServerRouter rules
Java wrapper for Qt class QHttpServerRouterRule
This class was introduced in Qt 6.4.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Java wrapper for Qt callableQHttpServerRouterRule::RouterHandler
-
Constructor Summary
ConstructorDescriptionQHttpServerRouterRule
(String pathPattern, QHttpServerRequest.Methods methods, QHttpServerRouterRule.RouterHandler routerHandler) QHttpServerRouterRule
(String pathPattern, QHttpServerRouterRule.RouterHandler routerHandler) -
Method Summary
Modifier and TypeMethodDescriptionprotected 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, QHttpServerRequest.Methods methods, QHttpServerRouterRule.RouterHandler routerHandler) -
QHttpServerRouterRule
-
-
Method Details
-
createPathRegexp
@QtUninvokable protected final boolean createPathRegexp(QMetaType [] metaTypes, Map<? extends QMetaType, String> converters) See
QHttpServerRouterRule::
createPathRegexp(std::initializer_list<QMetaType>, QHash<QMetaType, QString>) -
exec
@QtUninvokable protected final boolean exec(QHttpServerRequest request, QHttpServerResponder responder) -
hasValidMethods
-
matches
-