java.lang.Object
io.qt.QtObject
io.qt.httpserver.QHttpServerRouterRule
- All Implemented Interfaces:
QtObjectInterface
The base class for QHttpServerRouter rules
Java wrapper for Qt's class QHttpServerRouterRule
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
Java wrapper for Qt function pointer QHttpServerRouterRule::RouterHandlerNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only.QHttpServerRouterRule
(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) protected final boolean
exec
(QHttpServerRequest request, QTcpSocket socket) 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) -
QHttpServerRouterRule
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
createPathRegexp
@QtUninvokable protected final boolean createPathRegexp(QMetaType[] metaTypes, Map<? extends QMetaType, String> converters) -
exec
-
hasValidMethods
-
matches
-