io.kroxylicious.proxy.config.admin.AdminHttpConfigurationBuilder 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.admin;
import io.kroxylicious.proxy.config.model.VisitableBuilder;
public class AdminHttpConfigurationBuilder extends AdminHttpConfigurationFluent implements VisitableBuilder{
public AdminHttpConfigurationBuilder() {
this.fluent = this;
}
public AdminHttpConfigurationBuilder(AdminHttpConfigurationFluent> fluent) {
this.fluent = fluent;
}
public AdminHttpConfigurationBuilder(AdminHttpConfigurationFluent> fluent,AdminHttpConfiguration instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public AdminHttpConfigurationBuilder(AdminHttpConfiguration instance) {
this.fluent = this;
this.copyInstance(instance);
}
AdminHttpConfigurationFluent> fluent;
public AdminHttpConfiguration build() {
AdminHttpConfiguration buildable = new AdminHttpConfiguration(fluent.getHost(),fluent.getPort(),fluent.buildEndpoints());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy