private static void ajouterAction(Action action) {
        if (action.type() == null)
            return;
        switch (action.type()) {
            case Get:
                actionsGet.put(action.pattern(), action);
                break;
            case Post:
                actionsPost.put(action.pattern(), action);
                break;
        }
    }