Uses of Interface
org.springframework.test.web.reactive.server.WebTestClient.RequestHeadersSpec
Packages that use WebTestClient.RequestHeadersSpec Package Description org.springframework.test.web.reactive.server Support for testing Spring WebFlux server endpoints viaWebTestClient.Uses of WebTestClient.RequestHeadersSpec in org.springframework.test.web.reactive.server
Classes in org.springframework.test.web.reactive.server with type parameters of type WebTestClient.RequestHeadersSpec Modifier and Type Interface Description static interfaceWebTestClient.RequestHeadersSpec<S extends WebTestClient.RequestHeadersSpec<S>>Specification for adding request headers and performing an exchange.static interfaceWebTestClient.RequestHeadersUriSpec<S extends WebTestClient.RequestHeadersSpec<S>>Specification for providing request headers and the URI of a request.static interfaceWebTestClient.UriSpec<S extends WebTestClient.RequestHeadersSpec<?>>Specification for providing the URI of a request.Subinterfaces of WebTestClient.RequestHeadersSpec in org.springframework.test.web.reactive.server Modifier and Type Interface Description static interfaceWebTestClient.RequestBodySpecSpecification for providing body of a request.static interfaceWebTestClient.RequestBodyUriSpecSpecification for providing the body and the URI of a request.static interfaceWebTestClient.RequestHeadersUriSpec<S extends WebTestClient.RequestHeadersSpec<S>>Specification for providing request headers and the URI of a request.Methods in org.springframework.test.web.reactive.server that return WebTestClient.RequestHeadersSpec Modifier and Type Method Description WebTestClient.RequestHeadersSpec<?>WebTestClient.RequestBodySpec. body(Object producer, Class<?> elementClass)Set the body from the given producer.WebTestClient.RequestHeadersSpec<?>WebTestClient.RequestBodySpec. body(Object producer, ParameterizedTypeReference<?> elementTypeRef)Set the body from the given producer.WebTestClient.RequestHeadersSpec<?>WebTestClient.RequestBodySpec. body(BodyInserter<?,? super ClientHttpRequest> inserter)Set the body of the request to the givenBodyInserter.<T,S extends org.reactivestreams.Publisher<T>>
WebTestClient.RequestHeadersSpec<?>WebTestClient.RequestBodySpec. body(S publisher, Class<T> elementClass)Set the body from the givenPublisher.<T,S extends org.reactivestreams.Publisher<T>>
WebTestClient.RequestHeadersSpec<?>WebTestClient.RequestBodySpec. body(S publisher, ParameterizedTypeReference<T> elementTypeRef)Variant ofWebTestClient.RequestBodySpec.body(Publisher, Class)that allows providing element type information with generics.WebTestClient.RequestHeadersSpec<?>WebTestClient.RequestBodySpec. bodyValue(Object body)Set the body to the givenObjectvalue.WebTestClient.RequestHeadersSpec<?>WebTestClient.RequestBodySpec. syncBody(Object body)Deprecated.as of Spring Framework 5.2 in favor ofWebTestClient.RequestBodySpec.bodyValue(Object)