cn.dreampie.server
类 RestyServer
java.lang.Object
cn.dreampie.server.RestyServer
- 直接已知子类:
- JettyServerProvider
public abstract class RestyServer
- extends Object
Created by ice on 14-12-19.
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
host
protected String host
port
protected int port
isBuild
protected boolean isBuild
contextPath
protected String contextPath
resourceBase
protected String resourceBase
useHttpSession
protected boolean useHttpSession
rootPath
protected String rootPath
classPath
protected String classPath
webXmlPath
protected String webXmlPath
reloadRunnable
protected ReloadRunnable reloadRunnable
reloadObserver
protected ReloadObserver reloadObserver
watchThread
protected Thread watchThread
classLoader
protected ClassLoader classLoader
stack
protected StackTraceElement stack
mainFile
protected String mainFile
RestyServer
public RestyServer()
setContextPath
public RestyServer setContextPath(String contextPath)
setResourceBase
public void setResourceBase(String resourceBase)
setUseHttpSession
public void setUseHttpSession(boolean useHttpSession)
build
public RestyServer build()
throws Exception
- 抛出:
Exception
build
public RestyServer build(int port)
throws Exception
- 抛出:
Exception
build
public RestyServer build(int port,
String host)
throws Exception
- 抛出:
Exception
init
protected abstract void init()
throws Exception
- 抛出:
Exception
start
public abstract void start()
throws Exception
- 抛出:
Exception
stop
public abstract void stop()
throws Exception
- 抛出:
Exception
destroy
public abstract void destroy()
throws Exception
- 抛出:
Exception
restartWebApp
public abstract void restartWebApp()
throws Exception
- 抛出:
Exception
Copyright © 2017. All rights reserved.