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