APISonar


org.rapidoid.util.Msc.http

> org > rapidoid > util > Msc > http
org APIs rapidoid APIs util APIs Msc APIs http APIs

Example 1
public static String localUrl(String urlPath) {
		U.must(urlPath.startsWith("/"), "Invalid URL path, it must start with '/'!");
		int port = Conf.ON.entry("port").or(8080);
		return Msc.http() + "://localhost:" + port + urlPath;
	}