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(ServerHttpRequest request,
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(ServerHttpRequest request, ServerHttpResponse response) throws IOException
request
- the requestresponse
- the responseIOException
- in case of I/O errors