Class HandlerDistributor
- java.lang.Object
-
- de.quantummaid.httpmaid.handler.distribution.HandlerDistributor
-
public final class HandlerDistributor extends Object
-
-
Constructor Summary
Constructors Constructor Description HandlerDistributor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanappliesTo(Object handler)voidconsume(Object handler, GenerationCondition condition)static HandlerDistributorhandlerDistributor(Predicate<Object> predicate, BiConsumer<Object,GenerationCondition> handlerConsumer)
-
-
-
Method Detail
-
handlerDistributor
public static HandlerDistributor handlerDistributor(Predicate<Object> predicate, BiConsumer<Object,GenerationCondition> handlerConsumer)
-
appliesTo
public boolean appliesTo(Object handler)
-
consume
public void consume(Object handler, GenerationCondition condition)
-
-