Interface InboundData<A>

Type Parameters:
A - the type of data
All Known Subinterfaces:
InboundDataDecoder<A>, RequestBody.Multipart<A>, RequestBody.UrlEncoded, WebRequestBody.WebMultipart
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 InboundData<A>

A generic inbound data consumer.

It is used to consume the payload received by a client or a server either in a response or a request.

Since:
1.6
Author:
Jeremy Kuhn
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the inbound data publisher.
  • Method Details

    • stream

      Publisher<A> stream()

      Returns the inbound data publisher.

      Returns:
      a data publisher