| Class | Description |
|---|---|
| ConsumerArgumentSame | |
| ConsumerArgumentsMapper |
将consumer参数保存到invocation中去(args/context)
比如契约原型是 int add(int x, int y)
而consumer原型是int add(InvocationContext context, int x, int y)
除了context参数,剩下的参数,必须与契约中的一一匹配,包括顺序、类型
|
| ConsumerArgumentsMapperFactory | |
| ConsumerArgumentToBodyField |
透明RPC的典型场景
因为没有标注指明RESTful映射方式
所以,所有参数被包装为一个class,每个参数是一个field
|
| ConsumerInvocationContextMapper | |
| ConsumerInvocationContextMapperFactory |
Copyright © 2017. All rights reserved.