コード例 #1
0
 @Override
 public List<FilterMappingDef> getMappings() {
   List<FilterMappingDef> result = new ArrayList<FilterMappingDef>();
   List<FilterMappingDef> mappings = getFilterMappings();
   for (FilterMappingDef mapping : mappings) {
     if (Strings.areEqualTrimmed(this.getName(), mapping.getFilterName())) {
       result.add(mapping);
     }
   }
   return result;
 }
コード例 #2
0
 @Override
 public boolean isAsyncSupported() {
   return Strings.isTrue(filter.textValue("async-supported"));
 }