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