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, setHandler
public void start()
ServerEngine
public org.smartboot.http.server.HttpBootstrap getRawEngine()
ServerEngine
protected void reset()
AbstractServerEngine
reset
in class AbstractServerEngine
protected void initEngine()
AbstractServerEngine
initEngine
in class AbstractServerEngine
Copyright © 2025. All rights reserved.