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