类 OptionalLiveReloadServer
java.lang.Object
org.springframework.boot.devtools.autoconfigure.OptionalLiveReloadServer
- 所有已实现的接口:
InitializingBean
Manages an optional
LiveReloadServer
. The LiveReloadServer
may
gracefully fail to start (e.g. because of a port conflict) or may be omitted entirely.- 从以下版本开始:
- 1.3.0
- 作者:
- Phillip Webb
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
void
Trigger LiveReload if the server is up and running.
-
构造器详细资料
-
OptionalLiveReloadServer
Create a newOptionalLiveReloadServer
instance.- 参数:
server
- the server to manage ornull
-
-
方法详细资料
-
afterPropertiesSet
- 指定者:
afterPropertiesSet
在接口中InitializingBean
- 抛出:
Exception
-
triggerReload
public void triggerReload()Trigger LiveReload if the server is up and running.
-