|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.nesscomputing.httpserver.GalaxyJetty7HttpServer
public class GalaxyJetty7HttpServer
| Constructor Summary | |
|---|---|
GalaxyJetty7HttpServer(HttpServerConfig httpServerConfig,
com.nesscomputing.galaxy.GalaxyConfig galaxyConfig,
javax.servlet.Servlet catchallServlet)
|
|
| Method Summary | |
|---|---|
void |
addHandlers(Set<org.eclipse.jetty.server.Handler> handlers)
|
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 |
setInjector(com.google.inject.Injector injector)
|
void |
setLifecycle(com.nesscomputing.lifecycle.Lifecycle lifecycle)
|
void |
setMBeanServer(MBeanServer mbeanServer)
|
void |
start()
Bring up the HTTP Server. |
void |
stop()
Shut down the HTTP Server. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
@Inject
public GalaxyJetty7HttpServer(HttpServerConfig httpServerConfig,
com.nesscomputing.galaxy.GalaxyConfig galaxyConfig,
javax.servlet.Servlet catchallServlet)
| Method Detail |
|---|
@Inject(optional=true) public void setInjector(com.google.inject.Injector injector)
@Inject(optional=true) public void setMBeanServer(MBeanServer mbeanServer)
@Inject(optional=true) public void addHandlers(Set<org.eclipse.jetty.server.Handler> handlers)
@Inject(optional=true) public void setLifecycle(com.nesscomputing.lifecycle.Lifecycle lifecycle)
public void start()
HttpServer
start in interface HttpServerpublic void stop()
HttpServer
stop in interface HttpServerpublic int getInternalHttpPort()
HttpServer
getInternalHttpPort in interface HttpServerpublic int getInternalHttpsPort()
HttpServer
getInternalHttpsPort in interface HttpServerpublic int getExternalHttpPort()
HttpServer
getExternalHttpPort in interface HttpServerpublic int getExternalHttpsPort()
HttpServer
getExternalHttpsPort in interface HttpServerpublic String getInternalAddress()
getInternalAddress in interface HttpServerpublic String getExternalAddress()
getExternalAddress in interface HttpServer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||