Interface RequestData<A>

Type Parameters:
A - the type of data
All Known Subinterfaces:
RequestBody.Multipart<A>, RequestBody.UrlEncoded
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface RequestData<A>

A generic request payload consumer.

Since:
1.0
Author:
Jeremy Kuhn
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    org.reactivestreams.Publisher<A>
    Returns the payload data publisher.
  • Method Details

    • stream

      org.reactivestreams.Publisher<A> stream()

      Returns the payload data publisher.

      Returns:
      a data publisher