java.lang.Object
org.apache.jena.atlas.web.WebLib
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
Choose an unused port for a server to listen on.static String[]
Split a string, removing whitespace around the split string.
-
Constructor Details
-
WebLib
public WebLib()
-
-
Method Details
-
split
Split a string, removing whitespace around the split string. e.g. Use in splitting HTTP accept/content-type headers. -
choosePort
public static int choosePort()Choose an unused port for a server to listen on. Note: Fuseki main will start of "port 0", and then return the port actually allocated. This is atomic whereas "choosePort" does not reserve the port.
-