def METHOD_NAME(self, action, options=None):
    """
    This method executes the defined action in the given event.
    :param action:
    :param options: Contains the flask parameters g, request, response
        and the handler_def configuration
    :type options: dict
    :return:
    """
    ret = True
    request = options.get("request")
    handler_def = options.get("handler_def")
    handler_options = handler_def.get("options", {})
    parameter = handler_options.get("parameter")
    if parameter:
        if action.lower() == ACTION_TYPE.DELETE:
            if parameter in request.all_data:
                del(request.all_data[parameter])
        elif action.lower() == ACTION_TYPE.SET:
            value = handler_options.get("value")
            match_parameter = handler_options.get("match_parameter")
            match_pattern = handler_options.get("match_pattern")
            if value is not None:
                # We only take action, if we have a value, even an empty string "".
                if not match_parameter:
                    # simple setting a parameter
                    request.all_data[parameter] = value
                elif match_pattern and match_parameter in request.all_data:
                    # setting a parameter depending on another value,
                    # but only set it, if match_parameter exists
                    """
                    Note: Beware user supplied  format-string like "match_pattern", it can
                    be dangerous: http://lucumr.pocoo.org/2016/12/29/careful-with-str-format/
                    but in our case it is fine because no objects are involved, as m.groups() 
                    always returns a tuple of strings
                    """
                    m = re.match("^" + match_pattern + "$", request.all_data.get(match_parameter))
                    if m:
                        # Now we set the new value with the matching tuple
                        try:
                            request.all_data[parameter] = value.format(*m.groups())
                        except IndexError:
                            log.warning("The number of found tags ({0!r}) "
                                        "do not match the required number ({1!r}).".format(m.groups(), value))
    return ret