public class SmartHttpServerEngine extends AbstractServerEngine
config, handler| Constructor and Description |
|---|
SmartHttpServerEngine()
构造
|
| Modifier and Type | Method and Description |
|---|---|
org.smartboot.http.server.HttpBootstrap |
getRawEngine()
获取原始引擎的钩子方法,用于自定义特殊属性,如插件等
|
protected void |
initEngine()
初始化引擎,实现逻辑中如果初始化完成,不再重新初始化
|
protected void |
reset()
重置引擎
|
void |
start()
启动HTTP服务器
|
init, setHandlerpublic void start()
ServerEnginepublic org.smartboot.http.server.HttpBootstrap getRawEngine()
ServerEngineprotected void reset()
AbstractServerEnginereset in class AbstractServerEngineprotected void initEngine()
AbstractServerEngineinitEngine in class AbstractServerEngineCopyright © 2025. All rights reserved.