## Uses of Interface
org.springframework.web.reactive.function.BodyInserter

Packages that use BodyInserter
org.springframework.web.reactive.function: Provides a foundation for both the reactive client and server subpackages.
org.springframework.web.reactive.function.client: Provides a reactive `WebClient` that builds on top of the `org.springframework.http.client.reactive` reactive HTTP adapter layer.
org.springframework.web.reactive.function.server: Provides the types that make up Spring's functional web framework for Reactive environments.

### Uses of BodyInserter in org.springframework.web.reactive.function

Subinterfaces of BodyInserter in org.springframework.web.reactive.function
`static interface` `BodyInserters.FormInserter<T>` Extension of `BodyInserter` that allows for adding form data or multipart form data.
`static interface` `BodyInserters.MultipartInserter` Extension of `BodyInserters.FormInserter` that allows for adding asynchronous parts.

Methods in org.springframework.web.reactive.function that return BodyInserter
`static <T> BodyInserter<T,org.springframework.http.ReactiveHttpOutputMessage>` BodyInserters.`empty()` Inserter that does not write.
`static <T extends org.reactivestreams.Publisher<org.springframework.core.io.buffer.DataBuffer>> BodyInserter<T,org.springframework.http.ReactiveHttpOutputMessage>` BodyInserters.`fromDataBuffers(T publisher)` Inserter to write the given `Publisher<DataBuffer>` to the body.
`static <T> BodyInserter<T,org.springframework.http.ReactiveHttpOutputMessage>` BodyInserters.`fromObject(T body)` Deprecated. As of Spring Framework 5.2, in favor of `BodyInserters.fromValue(Object)`
`static <T> BodyInserter<T,org.springframework.http.ReactiveHttpOutputMessage>` BodyInserters.`fromProducer(T producer, Class<?> elementClass)` Inserter to write the given producer of value(s) which must be a `Publisher` or another producer adaptable to a `Publisher` via `ReactiveAdapterRegistry`.
`static <T> BodyInserter<T,org.springframework.http.ReactiveHttpOutputMessage>` BodyInserters.`fromProducer(T producer, org.springframework.core.ParameterizedTypeReference<?> elementTypeRef)` Inserter to write the given producer of value(s) which must be a `Publisher` or another producer adaptable to a `Publisher` via `ReactiveAdapterRegistry`.
`static <T,P extends org.reactivestreams.Publisher<T>> BodyInserter<P,org.springframework.http.ReactiveHttpOutputMessage>` BodyInserters.`fromPublisher(P publisher, Class<T> elementClass)` Inserter to write the given `Publisher`.
`static <T,P extends org.reactivestreams.Publisher<T>> BodyInserter<P,org.springframework.http.ReactiveHttpOutputMessage>` BodyInserters.`fromPublisher(P publisher, org.springframework.core.ParameterizedTypeReference<T> elementTypeRef)` Inserter to write the given `Publisher`.
`static <T extends org.springframework.core.io.Resource> BodyInserter<T,org.springframework.http.ReactiveHttpOutputMessage>` BodyInserters.`fromResource(T resource)` Inserter to write the given `Resource`.
`static <T,S extends org.reactivestreams.Publisher<org.springframework.http.codec.ServerSentEvent<T>>> BodyInserter<S,org.springframework.http.server.reactive.ServerHttpResponse>` BodyInserters.`fromServerSentEvents(S eventsPublisher)` Inserter to write the given `ServerSentEvent` publisher.
`static <T> BodyInserter<T,org.springframework.http.ReactiveHttpOutputMessage>` BodyInserters.`fromValue(T body)` Inserter to write the given value.

### Uses of BodyInserter in org.springframework.web.reactive.function.client

Methods in org.springframework.web.reactive.function.client that return BodyInserter
`BodyInserter<?,? super org.springframework.http.client.reactive.ClientHttpRequest>` ClientRequest.`body()` Return the body inserter of this request.

Methods in org.springframework.web.reactive.function.client with parameters of type BodyInserter
`WebClient.RequestHeadersSpec<?>` WebClient.RequestBodySpec.`body(BodyInserter<?,? super org.springframework.http.client.reactive.ClientHttpRequest> inserter)` Set the body of the request using the given body inserter.
`ClientRequest.Builder` ClientRequest.Builder.`body(BodyInserter<?,? super org.springframework.http.client.reactive.ClientHttpRequest> inserter)` Set the body of the request to the given `BodyInserter`.

### Uses of BodyInserter in org.springframework.web.reactive.function.server

Methods in org.springframework.web.reactive.function.server that return BodyInserter
`BodyInserter<T,? super org.springframework.http.server.reactive.ServerHttpResponse>` EntityResponse.`inserter()` Return the `BodyInserter` that writes the entity to the output stream.

Methods in org.springframework.web.reactive.function.server with parameters of type BodyInserter
`reactor.core.publisher.Mono<ServerResponse>` ServerResponse.BodyBuilder.`body(BodyInserter<?,? super org.springframework.http.server.reactive.ServerHttpResponse> inserter)` Set the body of the response to the given `BodyInserter` and return it.