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;

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

	public Supplier getHttpAddr() {
		return httpAddr;
	}

	public Supplier getHttpsAddr() {
		return httpsAddr;
	}

	public Supplier getBackendAddr() {
		return backendAddr;
	}
	
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy