All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.webpieces.httpproxy.api.ProxyConfig Maven / Gradle / Ivy

Go to download

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;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy