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