类 HttpRestartServer
java.lang.Object
org.springframework.boot.devtools.restart.server.HttpRestartServer
An HTTP server that can be used to upload updated
ClassLoaderFiles and trigger
restarts.- 从以下版本开始:
- 1.3.0
- 作者:
- Phillip Webb
- 另请参阅:
-
构造器概要
构造器构造器说明HttpRestartServer(RestartServer restartServer) Create a newHttpRestartServerinstance.HttpRestartServer(SourceDirectoryUrlFilter sourceDirectoryUrlFilter) Create a newHttpRestartServerinstance. -
方法概要
修饰符和类型方法说明voidhandle(ServerHttpRequest request, ServerHttpResponse response) Handle a server request.
-
构造器详细资料
-
HttpRestartServer
Create a newHttpRestartServerinstance.- 参数:
sourceDirectoryUrlFilter- the source filter used to link remote directory to the local classpath
-
HttpRestartServer
Create a newHttpRestartServerinstance.- 参数:
restartServer- the underlying restart server
-
-
方法详细资料
-
handle
Handle a server request.- 参数:
request- the requestresponse- the response- 抛出:
IOException- in case of I/O errors
-