Uses of Interface
org.springframework.test.web.reactive.server.WebTestClient.RequestBodySpec
Packages that use WebTestClient.RequestBodySpec Package Description org.springframework.test.web.reactive.server Support for testing Spring WebFlux server endpoints viaWebTestClient.Uses of WebTestClient.RequestBodySpec in org.springframework.test.web.reactive.server
Subinterfaces of WebTestClient.RequestBodySpec in org.springframework.test.web.reactive.server Modifier and Type Interface Description static interfaceWebTestClient.RequestBodyUriSpecSpecification for providing the body and the URI of a request.Methods in org.springframework.test.web.reactive.server that return WebTestClient.RequestBodySpec Modifier and Type Method Description WebTestClient.RequestBodySpecWebTestClient.RequestBodySpec. contentLength(long contentLength)Set the length of the body in bytes, as specified by theContent-Lengthheader.WebTestClient.RequestBodySpecWebTestClient.RequestBodySpec. contentType(MediaType contentType)Set the media type of the body, as specified by theContent-Typeheader.