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

org.webpieces.webserver.impl.PortConfiguration Maven / Gradle / Ivy

There is a newer version: 2.1.1
Show newest version
package org.webpieces.webserver.impl;

import java.net.InetSocketAddress;
import java.util.function.Supplier;

public class PortConfiguration {

	private Supplier httpAddr;
	private Supplier httpsAddr;
	private Supplier backendAddr;
	private Supplier allowHttpsIntoHttp;

	public PortConfiguration(Supplier httpAddr, Supplier httpsAddr, Supplier backendAddr, Supplier allowHttpsIntoHttp) {
		this.httpAddr = httpAddr;
		this.httpsAddr = httpsAddr;
		this.backendAddr = backendAddr;
		this.allowHttpsIntoHttp = allowHttpsIntoHttp;
	}

	public Supplier getHttpAddr() {
		return httpAddr;
	}

	public Supplier getHttpsAddr() {
		return httpsAddr;
	}

	public Supplier getBackendAddr() {
		return backendAddr;
	}

	public Supplier getAllowHttpsIntoHttp() {
		return allowHttpsIntoHttp;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy