Class ValueInserter

  • All Implemented Interfaces:
    BiFunction<Invocation,​org.springframework.web.reactive.function.client.WebClient.RequestBodyUriSpec,​org.springframework.web.reactive.function.client.WebClient.RequestHeadersUriSpec<?>>, RequestBodyInserter

    public class ValueInserter
    extends SingleBodyInserter<Object>
    The value inserter.
    Author:
    Christian Bremer
    • Constructor Detail

      • ValueInserter

        public ValueInserter()
    • Method Detail

      • insert

        protected org.springframework.web.reactive.function.client.WebClient.RequestHeadersUriSpec<?> insert​(Object body,
                                                                                                             org.springframework.web.reactive.function.client.WebClient.RequestBodyUriSpec requestBodyUriSpec)
        Description copied from class: SingleBodyInserter
        Insert request headers uri spec.
        Specified by:
        insert in class SingleBodyInserter<Object>
        Parameters:
        body - the body
        requestBodyUriSpec - the request body uri spec
        Returns:
        the request headers uri spec