Uses of Interface
org.springframework.test.web.servlet.client.RestTestClient.Builder
Packages that use RestTestClient.Builder
Package
Description
Support for testing Spring MVC applications via
RestTestClient with
MockMvc for server request handling.-
Uses of RestTestClient.Builder in org.springframework.test.web.servlet.client
Classes in org.springframework.test.web.servlet.client with type parameters of type RestTestClient.BuilderModifier and TypeInterfaceDescriptionstatic interfaceRestTestClient.Builder<B extends RestTestClient.Builder<B>>Steps to customize the underlyingRestClientviaRestClient.Builder.static interfaceRestTestClient.MockMvcSetupBuilder<S extends RestTestClient.Builder<S>, M extends MockMvcBuilder>Extension ofRestTestClient.Builderfor tests against a MockMvc server.Subinterfaces of RestTestClient.Builder in org.springframework.test.web.servlet.clientModifier and TypeInterfaceDescriptionstatic interfaceRestTestClient.MockMvcSetupBuilder<S extends RestTestClient.Builder<S>, M extends MockMvcBuilder>Extension ofRestTestClient.Builderfor tests against a MockMvc server.static interfaceExtension ofRestTestClient.Builderfor tests against а RouterFunction MockMvc setup.static interfaceExtension ofRestTestClient.Builderfor tests against а standalone MockMvc setup.static interfaceExtension ofRestTestClient.Builderfor tests against а WebAppContext MockMvc setup.Methods in org.springframework.test.web.servlet.client with type parameters of type RestTestClient.BuilderModifier and TypeMethodDescription<B extends RestTestClient.Builder<B>>
RestTestClient.Builder<B> RestTestClient.mutate()Return a builder to mutate properties of this test client.Methods in org.springframework.test.web.servlet.client that return RestTestClient.BuilderModifier and TypeMethodDescriptionstatic RestTestClient.Builder<?> Begin creating aRestTestClientby providing an already initializedMockMvcinstance to use as the server.static RestTestClient.Builder<?> RestTestClient.bindToServer()This server setup option allows you to connect to a live server.static RestTestClient.Builder<?> RestTestClient.bindToServer(ClientHttpRequestFactory requestFactory) A variant ofRestTestClient.bindToServer()with a pre-configured request factory.<B extends RestTestClient.Builder<B>>
RestTestClient.Builder<B> RestTestClient.mutate()Return a builder to mutate properties of this test client.