Search in sources :

Example 1 with TrafficLimitFilter

use of com.github.df.restypass.filter.TrafficLimitFilter in project RestyPass by darren-fu.

the class DefaultRestyPassFactory method getCommandFilter.

@Override
public List<CommandFilter> getCommandFilter() {
    List<CommandFilter> commandFilterList = new ArrayList<>();
    commandFilterList.add(new TrafficLimitFilter());
    return commandFilterList;
}
Also used : CommandFilter(com.github.df.restypass.filter.CommandFilter) TrafficLimitFilter(com.github.df.restypass.filter.TrafficLimitFilter) ArrayList(java.util.ArrayList)

Aggregations

CommandFilter (com.github.df.restypass.filter.CommandFilter)1 TrafficLimitFilter (com.github.df.restypass.filter.TrafficLimitFilter)1 ArrayList (java.util.ArrayList)1