public class HttpRestartServer extends Object
ClassLoaderFiles
and trigger
restarts.RestartServer
Constructor and Description |
---|
HttpRestartServer(RestartServer restartServer)
Create a new
HttpRestartServer instance. |
HttpRestartServer(SourceFolderUrlFilter sourceFolderUrlFilter)
Create a new
HttpRestartServer instance. |
Modifier and Type | Method and Description |
---|---|
void |
handle(org.springframework.http.server.ServerHttpRequest request,
org.springframework.http.server.ServerHttpResponse response)
Handle a server request.
|
public HttpRestartServer(SourceFolderUrlFilter sourceFolderUrlFilter)
HttpRestartServer
instance.sourceFolderUrlFilter
- the source filter used to link remote folder to the
local classpathpublic HttpRestartServer(RestartServer restartServer)
HttpRestartServer
instance.restartServer
- the underlying restart serverpublic void handle(org.springframework.http.server.ServerHttpRequest request, org.springframework.http.server.ServerHttpResponse response) throws IOException
request
- the requestresponse
- the responseIOException
- in case of I/O errorsCopyright © 2017 Pivotal Software, Inc.. All rights reserved.