@IocBean public class JettyStarter extends AbstractServletContainerStarter implements ServerFace, MonitorObject
appContext, classLoader, conf, ioc, monitorProps| 构造器和说明 |
|---|
JettyStarter() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected String |
getConfigurePrefix() |
int |
getIdleTimeout() |
org.eclipse.jetty.server.Server |
getJettyServer() |
int |
getMaxFormContentSize() |
int |
getMaxThreads() |
int |
getMinThreads() |
String |
getMonitorName() |
int |
getThreadPoolIdleTimeout() |
void |
init() |
boolean |
isRunning() |
void |
start() |
void |
stop() |
depose, fetch, getContextPath, getErrorPages, getHost, getMonitorKeys, getMonitorValue, getPort, getResourcePaths, getSessionTimeout, getWelcomeFiles, setAppContext, setClassLoader, setIoc, updateMonitorValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfailsafegetMonitorForPrint, getMonitorKeys, getMonitors, getMonitorValue, isMonitorEnable@PropDoc(value="\u76d1\u542c\u7684\u7aef\u53e3", defaultValue="8080", type="int") public static final String PROP_PORT
@PropDoc(value="\u76d1\u542c\u7684ip\u5730\u5740", defaultValue="0.0.0.0") public static final String PROP_HOST
@PropDoc(value="\u7ebf\u7a0b\u6c60idleTimeout\uff0c\u5355\u4f4d\u6beb\u79d2", defaultValue="60000", type="int") public static final String PROP_THREADPOOL_TIMEOUT
@PropDoc(value="\u7ebf\u7a0b\u6c60\u6700\u5c0f\u7ebf\u7a0b\u6570minThreads", defaultValue="200", type="int") public static final String PROP_THREADPOOL_MINTHREADS
@PropDoc(value="\u7ebf\u7a0b\u6c60\u6700\u5927\u7ebf\u7a0b\u6570maxThreads", defaultValue="500", type="int") public static final String PROP_THREADPOOL_MAXTHREADS
@PropDoc(value="\u7a7a\u95f2\u65f6\u95f4,\u5355\u4f4d\u6beb\u79d2", defaultValue="300000", type="int") public static final String PROP_IDLE_TIMEOUT
@PropDoc(value="\u4e0a\u4e0b\u6587\u8def\u5f84", defaultValue="/") public static final String PROP_CONTEXT_PATH
@PropDoc(value="\u8868\u5355\u6700\u5927\u5c3a\u5bf8", defaultValue="1gb", type="int") public static final String PROP_MAX_FORM_CONTENT_SIZE
@PropDoc(value="Session\u7a7a\u95f2\u65f6\u95f4,\u5355\u4f4d\u5206\u949f", defaultValue="30", type="int") public static final String PROP_SESSION_TIMEOUT
@PropDoc(value="\u9759\u6001\u6587\u4ef6\u6240\u5728\u7684\u672c\u5730\u8def\u5f84") public static final String PROP_STATIC_PATH_LOCAL
@PropDoc(value="\u989d\u5916\u7684\u9759\u6001\u6587\u4ef6\u8def\u5f84") public static final String PROP_STATIC_PATH
@PropDoc(value="\u5b89\u5168\u534f\u8bae,\u4f8b\u5982https") public static final String PROP_HTTP_CONFIG_SECURESCHEME
@PropDoc(value="\u5b89\u5168\u534f\u8bae\u7684\u7aef\u53e3,\u4f8b\u59828443") public static final String PROP_HTTP_CONFIG_SECUREPORT
@PropDoc(value="\u8f93\u51fa\u7f13\u51b2\u533a\u5927\u5c0f", defaultValue="32768") public static final String PROP_HTTP_CONFIG_OUTPUTBUFFERSIZE
@PropDoc(value="\u8f93\u51fa\u805a\u5408\u5927\u5c0f", defaultValue="8192") public static final String PROP_HTTP_CONFIG_OUTPUTAGGREGATIONSIZE
@PropDoc(value="\u8bf7\u6c42\u7684\u5934\u90e8\u6700\u5927\u503c", defaultValue="8192") public static final String PROP_HTTP_CONFIG_REQUESTHEADERSIZE
@PropDoc(value="\u54cd\u5e94\u7684\u5934\u90e8\u6700\u5927\u503c", defaultValue="8192") public static final String PROP_HTTP_CONFIG_RESPONSEHEADERSIZE
@PropDoc(value="\u662f\u5426\u53d1\u9001jetty\u7248\u672c\u53f7", defaultValue="true") public static final String PROP_HTTP_CONFIG_SENDSERVERVERSION
@PropDoc(value="\u662f\u5426\u53d1\u9001\u65e5\u671f\u4fe1\u606f", defaultValue="true") public static final String PROP_HTTP_CONFIG_SENDDATEHEADER
@PropDoc(value="\u5934\u90e8\u7f13\u51b2\u533a\u5927\u5c0f", defaultValue="8192") public static final String PROP_HTTP_CONFIG_HEADERCACHESIZE
@PropDoc(value="\u6700\u5927\u9519\u8bef\u91cd\u5b9a\u5411\u6b21\u6570", defaultValue="10") public static final String PROP_HTTP_CONFIG_MAXERRORDISPATCHES
@PropDoc(value="\u963b\u585e\u8d85\u65f6", defaultValue="-1") public static final String PROP_HTTP_CONFIG_BLOCKINGTIMEOUT
@PropDoc(value="\u662f\u5426\u542f\u7528\u6301\u4e45\u5316\u8fde\u63a5", defaultValue="true") public static final String PROP_HTTP_CONFIG_PERSISTENTCONNECTIONSENABLED
@PropDoc(value="\u81ea\u5b9a\u4e49404\u9875\u9762,\u540c\u7406,\u5176\u4ed6\u72b6\u6001\u7801\u4e5f\u662f\u652f\u6301\u7684") public static final String PROP_PAGE_404
@PropDoc(value="\u81ea\u5b9a\u4e49java.lang.Throwable\u9875\u9762,\u540c\u7406,\u5176\u4ed6\u5f02\u5e38\u4e5f\u652f\u6301") public static final String PROP_PAGE_THROWABLE
@PropDoc(value="\u662f\u5426\u542f\u7528gzip", defaultValue="false") public static final String PROP_GZIP_ENABLE
@PropDoc(value="gzip\u538b\u7f29\u7ea7\u522b", defaultValue="-1") public static final String PROP_GZIP_LEVEL
@PropDoc(value="gzip\u538b\u7f29\u6700\u5c0f\u89e6\u53d1\u5927\u5c0f", defaultValue="512") public static final String PROP_GZIP_MIN_CONTENT_SIZE
@PropDoc(value="WelcomeFile\u5217\u8868", defaultValue="index.html,index.htm,index.do") public static final String PROP_WELCOME_FILES
@PropDoc(value="Https\u7aef\u53e3\u53f7") public static final String PROP_HTTPS_PORT
@PropDoc(value="Https\u7684KeyStore\u8def\u5f84") public static final String PROP_HTTPS_KEYSTORE_PATH
@PropDoc(value="Https\u7684KeyStore\u7684\u5bc6\u7801") public static final String PROP_HTTPS_KEYSTORE_PASSWORD
protected org.eclipse.jetty.server.Server server
protected org.eclipse.jetty.webapp.WebAppContext wac
protected org.eclipse.jetty.server.ServerConnector connector
public void start()
throws Exception
start 在接口中 ServerFaceExceptionpublic void stop()
throws Exception
stop 在接口中 ServerFaceExceptionpublic boolean isRunning()
isRunning 在接口中 ServerFace@IocBean(name="jettyServer") public org.eclipse.jetty.server.Server getJettyServer()
public int getMaxFormContentSize()
public int getIdleTimeout()
public int getMinThreads()
public int getMaxThreads()
public int getThreadPoolIdleTimeout()
protected String getConfigurePrefix()
public String getMonitorName()
getMonitorName 在接口中 MonitorObjectCopyright © 2019. All rights reserved.