7#include <Cutelyst/action.h>
8#include <Cutelyst/cutelyst_export.h>
9#include <Cutelyst/dispatchtype.h>
13class DispatchTypeChainedPrivate;
21class CUTELYST_EXPORT DispatchTypeChained final :
public DispatchType
24 Q_DECLARE_PRIVATE(DispatchTypeChained)
29 explicit DispatchTypeChained(QObject *parent =
nullptr);
34 ~DispatchTypeChained()
override;
36 QByteArray list()
const override;
38 MatchType match(Context *c, QStringView path,
const QStringList &args)
const override;
40 bool registerAction(Action *action)
override;
42 QString uriForAction(Action *action,
const QStringList &captures)
const override;
44 Action *expandAction(
const Context *c, Action *action)
const final;
46 bool inUse()
override;
49 DispatchTypeChainedPrivate *d_ptr;
The Cutelyst namespace holds all public Cutelyst API.