io.specto.hoverfly.junit.api.model.ModeArguments Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hoverfly-java Show documentation
Show all versions of hoverfly-java Show documentation
Hoverfly for Java. Capture and simulate HTTP(S) services in JUnit tests.
package io.specto.hoverfly.junit.api.model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import java.util.List;
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ModeArguments {
private List headersWhitelist;
private String matchingStrategy;
private boolean stateful;
public ModeArguments() {
}
public ModeArguments(List headersWhitelist) {
this.headersWhitelist = headersWhitelist;
}
public ModeArguments(List headersWhitelist, boolean stateful) {
this.headersWhitelist = headersWhitelist;
this.stateful = stateful;
}
public List getHeadersWhitelist() {
return headersWhitelist;
}
public void setHeadersWhitelist(List headersWhitelist) {
this.headersWhitelist = headersWhitelist;
}
public String getMatchingStrategy() {
return matchingStrategy;
}
public void setMatchingStrategy(String matchingStrategy) {
this.matchingStrategy = matchingStrategy;
}
public boolean isStateful() {
return stateful;
}
public void setStateful(boolean stateful) {
this.stateful = stateful;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy