public static void replaceFiltersWith(List<Filter> filters) {
        Validate.notNull(filters, "Filter list cannot be null");
        RestAssured.filters.clear();
        filters(filters);
    }
public static void replaceFiltersWith(List<Filter> filters) {
        Validate.notNull(filters, "Filter list cannot be null");
        RestAssured.filters.clear();
        filters(filters);
    }
public static void replaceFiltersWith ( List < Filter > filters ) { Validate . notNull ( filters , "Filter list cannot be null" ) ; RestAssured . filters . clear ( ) ; filters ( filters ) ; }
Sets the default filters to apply to each request.

@param filters The filter list
Sets the default filters to apply to each request .