Class OptionalLiveReloadServer
java.lang.Object
org.springframework.boot.devtools.autoconfigure.OptionalLiveReloadServer
- All Implemented Interfaces:
InitializingBean
@Deprecated(since="4.1.0",
forRemoval=true)
public class OptionalLiveReloadServer
extends Object
implements InitializingBean
Deprecated, for removal: This API element is subject to removal in a future version.
since 4.1.0 for removal in 4.3.0 with no replacement.
Manages an optional
LiveReloadServer. The LiveReloadServer may
gracefully fail to start (e.g. because of a port conflict) or may be omitted entirely.- Since:
- 1.3.0
- Author:
- Phillip Webb
-
Constructor Summary
ConstructorsConstructorDescriptionOptionalLiveReloadServer(@Nullable LiveReloadServer server) Deprecated, for removal: This API element is subject to removal in a future version.Create a newOptionalLiveReloadServerinstance. -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.Trigger LiveReload if the server is up and running.
-
Constructor Details
-
OptionalLiveReloadServer
Deprecated, for removal: This API element is subject to removal in a future version.Create a newOptionalLiveReloadServerinstance.- Parameters:
server- the server to manage ornull
-
-
Method Details
-
afterPropertiesSet
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
afterPropertiesSetin interfaceInitializingBean- Throws:
Exception
-
triggerReload
public void triggerReload()Deprecated, for removal: This API element is subject to removal in a future version.Trigger LiveReload if the server is up and running.
-