public abstract class AbstractJetty8HttpServer extends Object implements HttpServer
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractJetty8HttpServer(HttpServerConfig httpServerConfig,
javax.servlet.Servlet catchallServlet) |
| Modifier and Type | Method and Description |
|---|---|
abstract Map<String,HttpConnector> |
getConnectors()
Return a map of connectors configured for this server.
|
String |
getExternalAddress() |
int |
getExternalHttpPort()
Return the actual external http port this server listens to.
|
int |
getExternalHttpsPort()
Return the actual external https port this server listens to.
|
String |
getInternalAddress() |
int |
getInternalHttpPort()
Return the actual internal http port this server listens to.
|
int |
getInternalHttpsPort()
Return the actual internal https port this server listens to.
|
void |
start()
Bring up the HTTP Server.
|
void |
stop()
Shut down the HTTP Server.
|
@Inject protected AbstractJetty8HttpServer(HttpServerConfig httpServerConfig, javax.servlet.Servlet catchallServlet)
public void start()
HttpServerstart in interface HttpServerpublic void stop()
HttpServerstop in interface HttpServerpublic abstract Map<String,HttpConnector> getConnectors()
HttpServergetConnectors in interface HttpServerpublic int getInternalHttpPort()
HttpServergetInternalHttpPort in interface HttpServerpublic int getInternalHttpsPort()
HttpServergetInternalHttpsPort in interface HttpServerpublic int getExternalHttpPort()
HttpServergetExternalHttpPort in interface HttpServerpublic int getExternalHttpsPort()
HttpServergetExternalHttpsPort in interface HttpServerpublic String getInternalAddress()
getInternalAddress in interface HttpServerpublic String getExternalAddress()
getExternalAddress in interface HttpServerCopyright © 2013 Ness Computing, Inc.. All Rights Reserved.