Package step.grid.app.server
Class BaseServer
java.lang.Object
step.grid.app.server.BaseServer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intgetActualServerPort(org.eclipse.jetty.server.Server server) protected StringgetOrBuildActualUrl(String serverHost, String serverUrl, int localPort, boolean ssl) protected intresolveServerPort(String configUrl, Integer configPort) protected org.eclipse.jetty.server.ServerstartServer(AppConfiguration appConfiguration, int port, org.glassfish.jersey.server.ResourceConfig resourceConfig)
-
Constructor Details
-
BaseServer
public BaseServer()
-
-
Method Details
-
startServer
protected org.eclipse.jetty.server.Server startServer(AppConfiguration appConfiguration, int port, org.glassfish.jersey.server.ResourceConfig resourceConfig) throws Exception - Throws:
Exception
-
resolveServerPort
- Throws:
MalformedURLException
-
getActualServerPort
protected int getActualServerPort(org.eclipse.jetty.server.Server server) -
getOrBuildActualUrl
protected String getOrBuildActualUrl(String serverHost, String serverUrl, int localPort, boolean ssl) throws UnknownHostException - Throws:
UnknownHostException
-