public class LocalServer_Jetty extends LocalServer
| 限定符和类型 | 字段和说明 |
|---|---|
protected org.eclipse.jetty.webapp.WebAppContext |
context |
protected String |
contextPath |
protected Integer |
port |
protected Integer |
scanIntervalSeconds |
protected org.eclipse.jetty.server.Server |
server |
protected String |
webAppDir |
| 构造器和说明 |
|---|
LocalServer_Jetty() |
LocalServer_Jetty(Integer port) |
LocalServer_Jetty(Integer port,
String webAppDir) |
LocalServer_Jetty(Integer port,
String webAppDir,
String contextPath) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.eclipse.jetty.webapp.WebAppContext |
getContext() |
org.eclipse.jetty.server.Server |
getServer() |
protected void |
initServer() |
boolean |
restart() |
protected void |
setBaseResources(String webAppDir) |
boolean |
start() |
boolean |
stop() |
protected org.eclipse.jetty.server.Server server
protected org.eclipse.jetty.webapp.WebAppContext context
protected Integer port
protected String webAppDir
protected String contextPath
protected Integer scanIntervalSeconds
public LocalServer_Jetty()
public LocalServer_Jetty(Integer port)
public boolean start()
start 在类中 LocalServerprotected void initServer()
protected void setBaseResources(String webAppDir)
public boolean restart()
restart 在类中 LocalServerpublic boolean stop()
stop 在类中 LocalServerpublic org.eclipse.jetty.server.Server getServer()
public org.eclipse.jetty.webapp.WebAppContext getContext()
Copyright © 2018. All rights reserved.