org.wildfly.swarm.config.webservices.PostHandlerChainConsumer Maven / Gradle / Ivy
package org.wildfly.swarm.config.webservices;
import org.wildfly.swarm.config.webservices.PostHandlerChain;
import java.lang.FunctionalInterface;
@FunctionalInterface
public interface PostHandlerChainConsumer> {
/**
* Configure a pre-constructed instance of PostHandlerChain resource
*
* @parameter Instance of PostHandlerChain to configure
* @return nothing
*/
void accept(T value);
default PostHandlerChainConsumer andThen(
PostHandlerChainConsumer after) {
return (c) -> {
this.accept(c);
after.accept(c);
};
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy