Allow to apply a filter only to specified HTTP methods