Uses of Interface
org.springframework.test.web.reactive.server.WebTestClient.RequestBodySpec
-
Uses of WebTestClient.RequestBodySpec in org.springframework.test.web.reactive.server
Modifier and TypeInterfaceDescriptionstatic interface
Specification for providing the body and the URI of a request.Modifier and TypeMethodDescriptionWebTestClient.RequestBodySpec.contentLength
(long contentLength) Set the length of the body in bytes, as specified by theContent-Length
header.WebTestClient.RequestBodySpec.contentType
(MediaType contentType) Set the media type of the body, as specified by theContent-Type
header.