public final class HttpServer extends Server
详情见: http://www.redkale.org
address, backlog, bufferCapacity, bufferPoolSize, charset, config, context, executor, logger, maxbody, prepare, protocol, readTimeoutSecond, RESNAME_ROOT, responsePoolSize, serverChannel, serverStartTime, threads, watch, writeTimeoutSecond| 构造器和说明 |
|---|
HttpServer() |
HttpServer(long serverStartTime,
WatchFactory watch) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addHttpServlet(HttpServlet servlet,
AnyValue conf,
java.lang.String... mappings) |
protected Context |
createContext() |
void |
init(AnyValue config) |
createFormat, destroy, getLogger, getProtocol, getSocketAddress, loadLib, shutdown, startpublic HttpServer()
public HttpServer(long serverStartTime,
WatchFactory watch)
public void init(AnyValue config) throws java.lang.Exception
public void addHttpServlet(HttpServlet servlet, AnyValue conf, java.lang.String... mappings)
protected Context createContext()
createContext 在类中 Server