Class RestartServer
java.lang.Object
org.springframework.boot.devtools.restart.server.RestartServer
Server used to 
restart the current application with updated
 ClassLoaderFiles.- Since:
- 1.3.0
- Author:
- Phillip Webb
- 
Constructor SummaryConstructorsConstructorDescriptionRestartServer(SourceDirectoryUrlFilter sourceDirectoryUrlFilter) Create a newRestartServerinstance.RestartServer(SourceDirectoryUrlFilter sourceDirectoryUrlFilter, ClassLoader classLoader) Create a newRestartServerinstance.
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidrestart(Set<URL> urls, ClassLoaderFiles files) Called to restart the application.voidupdateAndRestart(ClassLoaderFiles files) Update the current running application with the specifiedClassLoaderFilesand trigger a reload.
- 
Constructor Details- 
RestartServerCreate a newRestartServerinstance.- Parameters:
- sourceDirectoryUrlFilter- the source filter used to link remote directory to the local classpath
 
- 
RestartServerCreate a newRestartServerinstance.- Parameters:
- sourceDirectoryUrlFilter- the source filter used to link remote directory to the local classpath
- classLoader- the application classloader
 
 
- 
- 
Method Details- 
updateAndRestartUpdate the current running application with the specifiedClassLoaderFilesand trigger a reload.- Parameters:
- files- updated class loader files
 
- 
restartCalled to restart the application.- Parameters:
- urls- the updated URLs
- files- the updated files
 
 
-