| Class | Description |
|---|---|
| AbstractProducerContextArgMapper | |
| ProducerArgumentSame | |
| ProducerArgumentsMapper |
将契约参数转为producer原型
比如契约原型是 int add(int x, int y)
而producer原型是int add(HttpRequest request, int x, int y)
|
| ProducerArgumentsMapperFactory | |
| ProducerInvocationContextMapper | |
| ProducerInvocationContextMapperFactory | |
| SwaggerArgumentToProducerBodyField |
透明RPC的典型场景
因为没有标注指明RESTful映射方式
所以,所有参数被包装为一个class,每个参数是一个field
producer在处理时,需要将这些field取出来当作参数使用
|
Copyright © 2017. All rights reserved.