org.webpieces.httpproxy.api.ProxyConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of embeddablehttpproxy Show documentation
Show all versions of embeddablehttpproxy Show documentation
Someone forgot to fill this in. See http://stackoverflow.com/questions/38272550/how-to-fail-the-gradle-build-if-subproject-is-missing-a-property
The newest version!
package org.webpieces.httpproxy.api;
public class ProxyConfig {
private boolean isForceAllConnectionToHttps = false;
private int numFrontendServerThreads = 10;
private int numHttpClientThreads = 10;
public boolean isForceAllConnectionToHttps() {
return isForceAllConnectionToHttps;
}
public void setForceAllConnectionToHttps(boolean isForceAllConnectionToHttps) {
this.isForceAllConnectionToHttps = isForceAllConnectionToHttps;
}
public int getNumFrontendServerThreads() {
return numFrontendServerThreads;
}
public void setNumFrontendServerThreads(int numFrontendServerThreads) {
this.numFrontendServerThreads = numFrontendServerThreads;
}
public int getNumHttpClientThreads() {
return numHttpClientThreads;
}
public void setNumHttpClientThreads(int numHttpClientThreads) {
this.numHttpClientThreads = numHttpClientThreads;
}
}