class BloomFilterHttpService {

    @Post("/{name}/multi-check")
    public JsonNode multiCheck(@Param String name,
                               @RequestObject JsonNode req)
            throws FilterNotFoundException {
        final JsonNode values = checkNotNull("values", req.get("values"));
        checkParameter("values", values.isArray(), "expect Json array");

        final BloomFilter filter = bloomFilterManager.ensureGetValidFilter(name);
        final ArrayNode response = MAPPER.createArrayNode();
        for (final JsonNode value : values) {
            response.add(value.isTextual() && filter.mightContain(value.textValue()));
        }
        return response;
    }

    public  BloomFilterHttpService(BloomFilterManager<?, ? super ExpirableBloomFilterConfig> bloomFilterManager);

}