io.kroxylicious.proxy.config.tls.TrustStoreBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kroxylicious-integration-test-support Show documentation
Show all versions of kroxylicious-integration-test-support Show documentation
Support code to simplify writing integration tests for filters
The newest version!
package io.kroxylicious.proxy.config.tls;
import io.kroxylicious.proxy.config.model.VisitableBuilder;
public class TrustStoreBuilder extends TrustStoreFluent implements VisitableBuilder{
public TrustStoreBuilder() {
this.fluent = this;
}
public TrustStoreBuilder(TrustStoreFluent> fluent) {
this.fluent = fluent;
}
public TrustStoreBuilder(TrustStoreFluent> fluent,TrustStore instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public TrustStoreBuilder(TrustStore instance) {
this.fluent = this;
this.copyInstance(instance);
}
TrustStoreFluent> fluent;
public TrustStore build() {
TrustStore buildable = new TrustStore(fluent.getStoreFile(),fluent.buildStorePasswordProvider(),fluent.getStoreType(),fluent.buildTrustOptions());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy