//builder.contentKeys() can be null if we search for all
routingBuilder.contentKey(builder.contentKeys().iterator().next());
}
else if(builder.contentKeys() != null && builder.contentKeys().size() > 1) {
//builder.contentKeys() can be null if we search for all
DefaultBloomfilterFactory factory = new DefaultBloomfilterFactory();
SimpleBloomFilter<Number160> bf = factory.createContentKeyBloomFilter();
for (Number160 contentKey : builder.contentKeys()) {
bf.add(contentKey);
}
routingBuilder.keyBloomFilter(bf);
}