接口 BodyExtractor<T,M extends ReactiveHttpInputMessage>

类型参数:
T - the type of data to extract
M - the type of ReactiveHttpInputMessage this extractor can be applied to
函数接口:
这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。

@FunctionalInterface public interface BodyExtractor<T,M extends ReactiveHttpInputMessage>
A function that can extract data from a ReactiveHttpInputMessage body.
从以下版本开始:
4.0
作者:
Arjen Poutsma
另请参阅:
  • 嵌套类概要

    嵌套类
    修饰符和类型
    接口
    说明
    static interface 
    Defines the context used during the extraction.
  • 方法概要

    修饰符和类型
    方法
    说明
    extract(M inputMessage, BodyExtractor.Context context)
    Extract from the given input message.
  • 方法详细资料

    • extract

      T extract(M inputMessage, BodyExtractor.Context context)
      Extract from the given input message.
      参数:
      inputMessage - the request to extract from
      context - the configuration to use
      返回:
      the extracted data