Interface LocalTestWebServer.Provider
- Enclosing class:
LocalTestWebServer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Internal strategy used to provide the running
LocalTestWebServer.
Implementations can be registered in spring.factories and may accept an
ApplicationContext constructor argument.- Since:
- 4.0.0
- Author:
- Phillip Webb, Stephane Nicoll
-
Method Summary
Modifier and TypeMethodDescription@Nullable LocalTestWebServerReturn the providedLocalTestWebServerornull.
-
Method Details
-
getLocalTestWebServer
@Nullable LocalTestWebServer getLocalTestWebServer()Return the providedLocalTestWebServerornull.- Returns:
- the local test web server
-