Class HandlerDistributors
- java.lang.Object
-
- de.quantummaid.httpmaid.handler.distribution.HandlerDistributors
-
public final class HandlerDistributors extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static MetaDataKey<HandlerDistributors>HANDLER_DISTRIBUTORS
-
Constructor Summary
Constructors Constructor Description HandlerDistributors()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddistribute(Object handler, GenerationCondition condition)static HandlerDistributorshandlerDistributors()voidregister(Predicate<Object> predicate, BiConsumer<Object,GenerationCondition> handlerConsumer)
-
-
-
Field Detail
-
HANDLER_DISTRIBUTORS
public static final MetaDataKey<HandlerDistributors> HANDLER_DISTRIBUTORS
-
-
Method Detail
-
handlerDistributors
public static HandlerDistributors handlerDistributors()
-
register
public void register(Predicate<Object> predicate, BiConsumer<Object,GenerationCondition> handlerConsumer)
-
distribute
public void distribute(Object handler, GenerationCondition condition)
-
-