7#include <Cutelyst/action.h>
8#include <Cutelyst/cutelyst_export.h>
10#include <QtCore/qhash.h>
11#include <QtCore/qobject.h>
12#include <QtCore/qstringlist.h>
19class DispatcherPrivate;
45 [[nodiscard]]
Action *getAction(QStringView name, QStringView nameSpace = {})
const;
50 [[nodiscard]]
Action *getActionByPath(QStringView path)
const;
56 [[nodiscard]]
ActionList getActions(QStringView name, QStringView nameSpace)
const;
61 [[nodiscard]]
Controller *controller(QStringView name)
const;
66 [[nodiscard]] QList<Controller *> controllers()
const;
76 [[nodiscard]] QString uriForAction(
Action *action,
const QStringList &captures)
const;
89 [[nodiscard]] QVector<DispatchType *> dispatchers()
const;
95 void setupActions(
const QVector<Controller *> &controllers,
96 const QVector<DispatchType *> &dispatchers,
113 bool forward(
Context *c, QStringView opname);
118 void prepareAction(
Context *c);
124 DispatcherPrivate *d_ptr;
This class represents a Cutelyst Action.
The Cutelyst application.
The Cutelyst Component base class.
Cutelyst Controller base class.
The Cutelyst namespace holds all public Cutelyst API.
QVector< Action * > ActionList