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
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Java wrapper for Qt callableQHttpServerRouterRule::RouterHandler
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
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
-
QHttpServerRouterRule
public QHttpServerRouterRule(String pathPattern, QHttpServerRequest.Methods methods, QHttpServerRouterRule.RouterHandler routerHandler)
-
-
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
-