public class JlHttpServer extends Object implements ServerLifecycle
| 构造器和说明 |
|---|
JlHttpServer() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
enableSsl(boolean enable) |
void |
setExecutor(Executor executor) |
void |
setHandler(org.noear.solon.core.handle.Handler handler) |
void |
start(String host,
int port) |
void |
stop() |
protected boolean |
supportSsl() |
protected boolean supportSsl()
public void enableSsl(boolean enable)
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.