public class JlHttpServer extends Object implements ServerLifecycle
| 构造器和说明 |
|---|
JlHttpServer() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
allowSsl(boolean allowSsl) |
void |
setExecutor(Executor executor) |
void |
setHandler(org.noear.solon.core.handle.Handler handler) |
void |
start(String host,
int port) |
void |
stop() |
public void allowSsl(boolean allowSsl)
public void setHandler(org.noear.solon.core.handle.Handler handler)
public void setExecutor(Executor executor)
public void start(String host, int port) throws Throwable
start 在接口中 ServerLifecycleThrowablepublic void stop()
throws Throwable
stop 在接口中 ServerLifecycleThrowableCopyright © 2023. All rights reserved.