/** * Add a filter * * @param httpMethod the http-method of the route * @param filter the filter to add */ public void add(HttpMethod httpMethod, FilterImpl filter) { add(httpMethod, filter.getPath() , filter.getAcceptType(), filter); }
@Override @Deprecated public void addFilter(String httpMethod, FilterImpl filter) { init(); routes.add(httpMethod + " '" + getPaths() + filter.getPath() + "'", filter.getAcceptType(), filter); }
/** * Add a filter * * @param httpMethod the http-method of the route * @param filter the filter to add */ public void add(HttpMethod httpMethod, FilterImpl filter) { add(httpMethod, filter.getPath() , filter.getAcceptType(), filter); }
@Override @Deprecated public void addFilter(String httpMethod, FilterImpl filter) { init(); routes.add(httpMethod + " '" + getPaths() + filter.getPath() + "'", filter.getAcceptType(), filter); }