Class HttpRestartServer
- java.lang.Object
- org.springframework.boot.devtools.restart.server.HttpRestartServer
 
- public class HttpRestartServer extends Object A HTTP server that can be used to upload updated- ClassLoaderFilesand trigger restarts.- Since:
- 1.3.0
- See Also:
- RestartServer
 
- Constructor Summary- Constructors - Constructor - Description - HttpRestartServer(RestartServer restartServer)Create a new- HttpRestartServerinstance.- HttpRestartServer(SourceFolderUrlFilter sourceFolderUrlFilter)Create a new- HttpRestartServerinstance.
 - Method Summary- All Methods Instance Methods Concrete Methods - Modifier and Type - Method - Description - void- handle(org.springframework.http.server.ServerHttpRequest request, org.springframework.http.server.ServerHttpResponse response)Handle a server request.
 
- Constructor Detail- HttpRestartServer- public HttpRestartServer(SourceFolderUrlFilter sourceFolderUrlFilter) Create a new- HttpRestartServerinstance.- Parameters:
- sourceFolderUrlFilter- the source filter used to link remote folder to the local classpath
 
 - HttpRestartServer- public HttpRestartServer(RestartServer restartServer) Create a new- HttpRestartServerinstance.- Parameters:
- restartServer- the underlying restart server
 
 
 - Method Detail- handle- public void handle(org.springframework.http.server.ServerHttpRequest request, org.springframework.http.server.ServerHttpResponse response) throws IOException Handle a server request.- Parameters:
- request- the request
- response- the response
- Throws:
- IOException- in case of I/O errors