/** * Predicate that returns true if the Content-Size of a request is below a * given value. */ public static Predicate minContentSize(final long size) { return new MinContentSizePredicate(size); }
@Override public Predicate build(final Map<String, Object> config) { Long max = (Long) config.get("value"); return new MinContentSizePredicate(max); } }
/** * Predicate that returns true if the Content-Size of a request is below a * given value. */ public static Predicate minContentSize(final long size) { return new MinContentSizePredicate(size); }
/** * Predicate that returns true if the Content-Size of a request is below a * given value. */ public static Predicate minContentSize(final long size) { return new MinContentSizePredicate(size); }
@Override public Predicate build(final Map<String, Object> config) { Long max = (Long) config.get("value"); return new MinContentSizePredicate(max); } }
@Override public Predicate build(final Map<String, Object> config) { Long max = (Long) config.get("value"); return new MinContentSizePredicate(max); } }