Uses of Class
org.springframework.boot.test.http.server.LocalTestWebServer
Packages that use LocalTestWebServer
-
Uses of LocalTestWebServer in org.springframework.boot.test.http.server
Methods in org.springframework.boot.test.http.server that return LocalTestWebServerModifier and TypeMethodDescriptionstatic @Nullable LocalTestWebServerLocalTestWebServer.get(ApplicationContext applicationContext) Return theLocalTestWebServerinstance provided from theApplicationContextornullof no local server is started or could be provided.@Nullable LocalTestWebServerLocalTestWebServer.Provider.getLocalTestWebServer()Return the providedLocalTestWebServerornull.static LocalTestWebServerLocalTestWebServer.obtain(ApplicationContext applicationContext) Obtain theLocalTestWebServerinstance provided from theApplicationContext.static LocalTestWebServerLocalTestWebServer.of(LocalTestWebServer.Scheme scheme, int port) Factory method to create a newLocalTestWebServerinstance.static LocalTestWebServerLocalTestWebServer.of(LocalTestWebServer.Scheme scheme, int port, @Nullable String contextPath) Factory method to create a newLocalTestWebServerinstance.static LocalTestWebServerLocalTestWebServer.of(LocalTestWebServer.Scheme scheme, Supplier<LocalTestWebServer.BaseUriDetails> baseUriDetailsSupplier) Factory method to create a newLocalTestWebServerinstance.Return a newLocalTestWebServerinstance that applies the givenpath.