@IocBean public class TioMvcHttpServerBeans extends Object implements org.tio.http.server.mvc.intf.ControllerFactory
| 限定符和类型 | 字段和说明 |
|---|---|
protected org.nutz.ioc.impl.PropertiesProxy |
conf |
protected static String |
PRE |
static String |
PROP_ALLOW_DOMAINS |
static String |
PROP_API_INTERCEPTOR |
static String |
PROP_CHARSET |
static String |
PROP_CONTEXT_PATH |
static String |
PROP_IP |
static String |
PROP_MAX_LIVE_TIME_OF_STATIC_RES |
static String |
PROP_PAGE_404 |
static String |
PROP_PAGE_500 |
static String |
PROP_PORT |
static String |
PROP_SERVER_INFO |
static String |
PROP_SESSION_CACHE_NAME |
static String |
PROP_SESSION_COOKIE_NAME |
static String |
PROP_SESSION_ID_GENERATOR |
static String |
PROP_SESSION_STORE |
static String |
PROP_SESSION_TIMEOUT |
static String |
PROP_SUFFIX |
static String |
PROP_USE_SESSION |
static String |
PROP_WELCOME_FILE |
| 构造器和说明 |
|---|
TioMvcHttpServerBeans() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.tio.http.common.HttpConfig |
getHttpConfig() |
org.tio.http.server.HttpServerStarter |
getHttpServerStarter(org.tio.http.common.HttpConfig httpConfig) |
Object |
getInstance(Class<?> controllerClazz) |
@Inject protected org.nutz.ioc.impl.PropertiesProxy conf
@PropDoc(value="tio\u76d1\u542c\u7aef\u53e3", defaultValue="8080") public static final String PROP_PORT
@PropDoc(value="tio\u76d1\u542cip/\u4e3b\u673a\u540d", defaultValue="0.0.0.0") public static final String PROP_IP
@PropDoc(value="tio mvc\u4f1a\u8bdd\u8d85\u65f6\u65f6\u95f4", defaultValue="1800") public static final String PROP_SESSION_TIMEOUT
@PropDoc(value="tio mvc\u4e0a\u4e0b\u6587\u8def\u5f84") public static final String PROP_CONTEXT_PATH
@PropDoc(value="\u670d\u52a1\u5668\u4fe1\u606f") public static final String PROP_SERVER_INFO
@PropDoc(value="\u9ed8\u8ba4\u540e\u7f00") public static final String PROP_SUFFIX
@PropDoc(value="\u5b57\u7b26\u96c6", defaultValue="UTF-8") public static final String PROP_CHARSET
@PropDoc(value="\u9ed8\u8ba4Welcome File", defaultValue="index.html") public static final String PROP_WELCOME_FILE
@PropDoc(value="\u5141\u8bb8\u8bbf\u95ee\u7684\u57df\u540d,\u9017\u53f7\u5206\u9694") public static final String PROP_ALLOW_DOMAINS
@PropDoc(value="\u4f1a\u8bdd\u7f13\u5b58\u7684\u540d\u79f0") public static final String PROP_SESSION_CACHE_NAME
@PropDoc(value="\u4f1a\u8bddcookie\u7684\u540d\u5b57") public static final String PROP_SESSION_COOKIE_NAME
@PropDoc(value="maxLiveTimeOfStaticRes\u8bbe\u7f6e") public static final String PROP_MAX_LIVE_TIME_OF_STATIC_RES
@PropDoc(value="404\u9875\u9762", defaultValue="/404.html") public static final String PROP_PAGE_404
@PropDoc(value="500\u9875\u9762", defaultValue="/500.html") public static final String PROP_PAGE_500
@PropDoc(value="\u662f\u5426\u4f7f\u7528Session\u673a\u5236", defaultValue="true") public static final String PROP_USE_SESSION
@PropDoc(value="\u62e6\u622a\u5668", defaultValue="apiInterceptor") public static final String PROP_API_INTERCEPTOR
@PropDoc(value="\u4f1a\u8bddid\u751f\u6210\u5668", defaultValue="sessionIdGenerator") public static final String PROP_SESSION_ID_GENERATOR
@PropDoc(value="\u4f1a\u8bddid\u7f13\u5b58\u63d0\u4f9b\u8005", defaultValue="sessionStore") public static final String PROP_SESSION_STORE
Copyright © 2020. All rights reserved.