Skip to content

Releases: dadiyang/http-api-invoker

ResultBeanResponseProcessor

23 Mar 06:45

Choose a tag to compare

add:

  • ResultBeanResponseProcessor to handle those response with {code: 0, data: {}, msg: "success"} body

Bug fix

20 Mar 13:57

Choose a tag to compare

Bug fix:

  • Exception that occurs on using multi property files;
  • Exception that occurs when the response body is greater than 1MB;

form-urlencoded request supported

20 Mar 05:23

Choose a tag to compare

Add:

  • @Form to support form-urlencoded request;
  • Collection/Array fields will be converted to duplicated-key-value as query string at GET method;

支持保留路径参数到请求体

15 Mar 11:17

Choose a tag to compare

  • 支持保留路径参数到请求体,占位符 #{}
  • 简化整合Spring配置,无须手动注册 HttpApiConfigurer

ResponseProcessor

21 Feb 16:08

Choose a tag to compare

响应处理器接口

PropertyResolver

13 Jan 15:16

Choose a tag to compare

  1. 与Spring整合时读取Spring的配置;
  2. 修复自动包扫描与MyBatis冲突的bug;

重试机制

10 Jan 10:21

Choose a tag to compare

RetryPolicy 注解,支持重试
完善请求预处理逻辑

请求预处理器

09 Jan 14:24

Choose a tag to compare

添加:

  1. 请求预处理器:支持在发送请求前对请求体做统一处理
  2. HttpApiProxyFactory.newProxy 静态工厂方法

bug修复

05 Jan 06:07

Choose a tag to compare

  1. 修复无法读取外部配置文件的bug;
  2. 修复单一复杂对象get请求参数丢失的问题;

1.0.5 支持cookie 和 header

21 Dec 12:14

Choose a tag to compare

支持 cookie 和 header