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) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected org.eclipse.jetty.util.ssl.SslContextFactory |
createSslContext()
需要启用SSL时,请覆盖该方法
|
org.eclipse.jetty.webapp.WebAppContext |
getContext() |
org.eclipse.jetty.server.Server |
getServer() |
protected void |
initServer() |
boolean |
restart() |
protected void |
setBaseResources() |
boolean |
start() |
boolean |
stop() |
availableprotected 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)
protected void initServer()
protected void setBaseResources()
protected org.eclipse.jetty.util.ssl.SslContextFactory createSslContext()
public boolean start()
start 在类中 LocalServerpublic 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.