org.webpieces.webserver.impl.PortConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of http-webserver Show documentation
Show all versions of http-webserver Show documentation
The full webpieces server AS A library
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;
}
}