servicetalk-http-api/src/main/java/io/servicetalk/http/api/BlockingStreamingHttpRequest.java
/**
     * Returns a {@link BlockingStreamingHttpRequest} with its underlying payload transformed to the result of
     * serialization.
     * @param transformer A {@link Function} which take as a parameter the existing payload body
     * {@link BlockingIterable} and returns the new payload body {@link BlockingIterable} prior to serialization. It is
     * assumed the existing payload body {@link BlockingIterable} will be transformed/consumed or else no more requests
     * may be processed.
     * @param deserializer Used to deserialize the existing payload body.
     * @param serializer Used to serialize the payload body.
     * @param <T> The type of objects to deserialize.
     * @param <R> The type of objects to serialize.
     * @return {@code this}
     * @deprecated Use {@link #payloadBody(HttpStreamingDeserializer)} and
     * {@link #payloadBody(Iterable, HttpStreamingSerializer)}.
     */
Returns a  BlockingStreamingHttpRequest with its underlying payload transformed to the result of
serialization.
@param transformer A  Function which take as a parameter the existing payload body
BlockingIterable and returns the new payload body  BlockingIterable prior to serialization. It is
assumed the existing payload body  BlockingIterable will be transformed/consumed or else no more requests
may be processed.
@param deserializer Used to deserialize the existing payload body.
@param serializer Used to serialize the payload body.
@param  The type of objects to deserialize.
@param  The type of objects to serialize.
Returns a BlockingStreamingHttpRequest with its underlying payload transformed to the result of serialization . @param transformer A Function which take as a parameter the existing payload body BlockingIterable and returns the new payload body BlockingIterable prior to serialization . It is assumed the existing payload body BlockingIterable will be transformed / consumed or else no more requests may be processed . @param deserializer Used to deserialize the existing payload body . @param serializer Used to serialize the payload body . @param The type of objects to deserialize . @param The type of objects to serialize .
@Deprecated
    default <T, R> BlockingStreamingHttpRequest transformPayloadBody(
            Function<BlockingIterable<T>, BlockingIterable<R>> transformer, HttpDeserializer<T> deserializer,
            HttpSerializer<R> serializer) {
        return transformPayloadBody(buffers -> transformer.apply(payloadBody(deserializer)), serializer);
    }
@ Deprecated default < T , R > BlockingStreamingHttpRequest transformPayloadBody ( Function < BlockingIterable < T > , BlockingIterable < R > > transformer , HttpDeserializer < T > deserializer , HttpSerializer < R > serializer ) { return transformPayloadBody ( buffers -> transformer . apply ( payloadBody ( deserializer ) ) , serializer ) ; }
Returns a {@link BlockingStreamingHttpRequest} with its underlying payload transformed to the result of
 serialization.
Returns a { @link BlockingStreamingHttpRequest } with its underlying payload transformed to the result of serialization .