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