public class ServerConfig extends Object implements org.springframework.context.ApplicationListener<org.springframework.boot.web.context.WebServerInitializedEvent>
| 构造器和说明 |
|---|
ServerConfig() |
public int getServerPort()
public String getUrl()
public String getHost()
public void onApplicationEvent(org.springframework.boot.web.context.WebServerInitializedEvent event)
onApplicationEvent 在接口中 org.springframework.context.ApplicationListener<org.springframework.boot.web.context.WebServerInitializedEvent>Copyright © 2020. All rights reserved.