| Package | Description |
|---|---|
| io.servicecomb.swagger.invocation.arguments | |
| io.servicecomb.swagger.invocation.arguments.consumer | |
| io.servicecomb.swagger.invocation.arguments.producer |
| Modifier and Type | Method and Description |
|---|---|
ArgumentMapper |
ContextArgumentMapperFactory.create(int argumentIdx) |
protected abstract ArgumentMapper |
ArgumentsMapperFactory.createArgumentSame(int swaggerIdx,
int providerIdx) |
protected abstract ArgumentMapper |
ArgumentsMapperFactory.createBodyFieldArgMapper(ArgumentsMapperConfig config,
int swaggerArgIdx,
Map<Integer,Field> fieldMap) |
| Modifier and Type | Method and Description |
|---|---|
List<ArgumentMapper> |
ArgumentsMapperConfig.getArgumentMapperList() |
| Modifier and Type | Method and Description |
|---|---|
void |
ArgumentsMapperConfig.addArgumentMapper(ArgumentMapper argumentMapper) |
| Modifier and Type | Method and Description |
|---|---|
void |
ArgumentsMapperConfig.setArgumentMapperList(List<ArgumentMapper> argumentMapperList) |
| Modifier and Type | Class and Description |
|---|---|
class |
ConsumerArgumentSame |
class |
ConsumerArgumentToBodyField
透明RPC的典型场景
因为没有标注指明RESTful映射方式
所以,所有参数被包装为一个class,每个参数是一个field
|
class |
ConsumerInvocationContextMapper |
| Modifier and Type | Method and Description |
|---|---|
ArgumentMapper |
ConsumerInvocationContextMapperFactory.create(int consumerArgIdx) |
protected ArgumentMapper |
ConsumerArgumentsMapperFactory.createArgumentSame(int swaggerIdx,
int consumerIdx) |
protected ArgumentMapper |
ConsumerArgumentsMapperFactory.createBodyFieldArgMapper(ArgumentsMapperConfig config,
int swaggerArgIdx,
Map<Integer,Field> fieldMap) |
ArgumentMapper |
ConsumerArgumentsMapper.getArgumentMapper(int idx) |
| Constructor and Description |
|---|
ConsumerArgumentsMapper(List<ArgumentMapper> consumerArgMapperList,
int swaggerParameterCount) |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractProducerContextArgMapper |
class |
ProducerArgumentSame |
class |
ProducerInvocationContextMapper |
class |
SwaggerArgumentToProducerBodyField
透明RPC的典型场景
因为没有标注指明RESTful映射方式
所以,所有参数被包装为一个class,每个参数是一个field
producer在处理时,需要将这些field取出来当作参数使用
|
| Modifier and Type | Method and Description |
|---|---|
ArgumentMapper |
ProducerInvocationContextMapperFactory.create(int producerArgIdx) |
protected ArgumentMapper |
ProducerArgumentsMapperFactory.createArgumentSame(int swaggerIdx,
int producerIdx) |
protected ArgumentMapper |
ProducerArgumentsMapperFactory.createBodyFieldArgMapper(ArgumentsMapperConfig config,
int swaggerIdx,
Map<Integer,Field> fieldMap) |
| Constructor and Description |
|---|
ProducerArgumentsMapper(List<ArgumentMapper> producerArgMapperList,
int producerParameterCount) |
Copyright © 2017. All rights reserved.