| Constructor and Description |
|---|
HttpServerStarter(HttpConfig httpConfig,
HttpRequestHandler requestHandler) |
HttpServerStarter(HttpConfig httpConfig,
HttpRequestHandler requestHandler,
org.tio.utils.thread.pool.SynThreadPoolExecutor tioExecutor,
ExecutorService groupExecutor) |
HttpServerStarter(HttpRequestHandler requestHandler) |
| Modifier and Type | Method and Description |
|---|---|
HttpConfig |
getHttpConfig() |
HttpRequestHandler |
getHttpRequestHandler() |
HttpTioServerHandler |
getHttpTioServerHandler() |
HttpTioServerListener |
getHttpTioServerListener() |
TioServer |
getTioServer() |
TioServerConfig |
getTioServerConfig() |
void |
start(String serverIp,
int serverPort) |
boolean |
stop() |
public HttpServerStarter(HttpRequestHandler requestHandler)
requestHandler - HttpRequestHandlerpublic HttpServerStarter(HttpConfig httpConfig, HttpRequestHandler requestHandler)
httpConfig - HttpConfigrequestHandler - HttpRequestHandlerpublic HttpServerStarter(HttpConfig httpConfig, HttpRequestHandler requestHandler, org.tio.utils.thread.pool.SynThreadPoolExecutor tioExecutor, ExecutorService groupExecutor)
httpConfig - HttpConfigrequestHandler - HttpRequestHandlertioExecutor - SynThreadPoolExecutorgroupExecutor - ThreadPoolExecutorpublic TioServer getTioServer()
public TioServerConfig getTioServerConfig()
public HttpConfig getHttpConfig()
public HttpRequestHandler getHttpRequestHandler()
public HttpTioServerHandler getHttpTioServerHandler()
public HttpTioServerListener getHttpTioServerListener()
public void start(String serverIp, int serverPort) throws IOException
start in interface IServerIOExceptionCopyright © 2025. All rights reserved.