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

org.webpieces.frontend2.api.ServerSocketInfo Maven / Gradle / Ivy

Go to download

Create a webserver with this library in just 3 lines of code. just register your HttpRequestListener and it feeds you a FrontendSocket that you write HttpResponses to

There is a newer version: 2.1.1
Show newest version
package org.webpieces.frontend2.api;

import java.net.InetSocketAddress;

public class ServerSocketInfo {

	private InetSocketAddress localBoundAddress;
	private boolean isBackendSocket;

	public ServerSocketInfo(boolean isBackendSocket) {
		this.isBackendSocket = isBackendSocket;
	}

	public void setServerSocketAddress(InetSocketAddress localAddr) {
		this.localBoundAddress = localAddr;
	}

	public boolean isBackendSocket() {
		return isBackendSocket;
	}

	public InetSocketAddress getLocalBoundAddress() {
		return localBoundAddress;
	}
	
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy