Package | Description |
---|---|
org.voovan.http.server | |
org.voovan.http.server.context |
Modifier and Type | Method and Description |
---|---|
WebServerConfig |
WebServer.getWebServerConfig()
获取 Http 服务配置对象
|
Modifier and Type | Method and Description |
---|---|
static SessionManager |
SessionManager.newInstance(WebServerConfig config)
构造一个 SessionManager
|
static WebServer |
WebServer.newInstance(WebServerConfig config)
构建新的 WebServer,从配置对象读取配置
|
Constructor and Description |
---|
HttpDispatcher(WebServerConfig webConfig,
SessionManager sessionManager)
构造函数
|
HttpSession(WebServerConfig config,
SessionManager sessionManager,
IoSession socketSession)
构造函数
|
SessionManager(WebServerConfig webConfig)
构造函数
|
WebServer(WebServerConfig config)
构造函数
|
WebServerHandler(WebServerConfig webConfig,
HttpDispatcher httpDispatcher,
WebSocketDispatcher webSocketDispatcher) |
WebSocketDispatcher(WebServerConfig webConfig,
SessionManager sessionManager)
构造函数
|
Modifier and Type | Method and Description |
---|---|
static WebServerConfig |
WebContext.buildConfigFromFile(String configFilePath)
从一个配置文件, 获取一个 WebServer 的配置对象
|
static WebServerConfig |
WebContext.buildConfigFromJSON(String json)
从一个配置字符串, 获取一个 WebServer 的配置对象
|
static WebServerConfig |
WebContext.buildConfigFromMap(Map<String,Object> configMap)
获取一个 WebServer 的配置对象
|
static WebServerConfig |
WebContext.buildConfigFromRemote(String httpUrl)
从一个配置字符串, 获取一个 WebServer 的配置对象
|
static WebServerConfig |
WebContext.buildWebServerConfig()
构造一个新的 WebServer 配置对象
|
static WebServerConfig |
WebContext.getWebServerConfig()
获取WebServer配置对象
|
Modifier and Type | Method and Description |
---|---|
static void |
WebContext.writeAccessLog(WebServerConfig webServerConfig,
HttpRequest request,
HttpResponse response)
写入access.log
|
Copyright © 2020 Voovan. All rights reserved.