org.wildfly.swarm.config.undertow.ApplicationSecurityDomainConsumer Maven / Gradle / Ivy
The newest version!
package org.wildfly.swarm.config.undertow;
import org.wildfly.swarm.config.undertow.ApplicationSecurityDomain;
import java.lang.FunctionalInterface;
@FunctionalInterface
public interface ApplicationSecurityDomainConsumer> {
/**
* Configure a pre-constructed instance of ApplicationSecurityDomain
* resource
*
* @parameter Instance of ApplicationSecurityDomain to configure
* @return nothing
*/
void accept(T value);
default ApplicationSecurityDomainConsumer andThen(
ApplicationSecurityDomainConsumer after) {
return (c) -> {
this.accept(c);
after.accept(c);
};
}
}