1 | // Copyright (C) 2019 The Qt Company Ltd. |
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
3 | |
4 | #ifndef QHTTPSERVERROUTERRULE_P_H |
5 | #define QHTTPSERVERROUTERRULE_P_H |
6 | |
7 | #include <QtHttpServer/qhttpserverrouterrule.h> |
8 | |
9 | #include <QtCore/qregularexpression.h> |
10 | #include <QtCore/qstring.h> |
11 | |
12 | // |
13 | // W A R N I N G |
14 | // ------------- |
15 | // |
16 | // This file is not part of the Qt API. It exists for the convenience |
17 | // of QHttpServer. This header file may change from version to |
18 | // version without notice, or even be removed. |
19 | // |
20 | // We mean it. |
21 | |
22 | QT_BEGIN_NAMESPACE |
23 | |
24 | class QHttpServerRouterRulePrivate |
25 | { |
26 | public: |
27 | QString pathPattern; |
28 | QHttpServerRequest::Methods methods; |
29 | QHttpServerRouterRule::RouterHandler routerHandler; |
30 | |
31 | QRegularExpression pathRegexp; |
32 | }; |
33 | |
34 | QT_END_NAMESPACE |
35 | |
36 | #endif // QHTTPSERVERROUTERRULE_P_H |
37 | |