mica-http 是基于 okhttp 的封装,提供了 Fluent 语法的 http 工具包。mica-http 的语法简单易懂,同时还具有更好的性能和更高的安全性(自动关闭资源)。另外 mica-http 带有 http 请求日志打印功能。 一、简介 mica-http 是基于 okhttp 的封装,提供了 Fluent 语法的 http 工具包。mica-http 的语法简单易懂,...
mica-http 对 okhttp 进行增强会复用OkHttpClient和连接池,并没有明显的性能损耗,偶尔结果还比 okhttp 表现得好。 protoTypeOkHttp 采用的是每次 new OkHttpClient() 性能损耗明显非常明显,而且高并发下还有内存泄露,所以大家在使用时一定要注意。 四、安全 mica-http 在执行时会使用try-with-resource语法自动关流...
mica-http是okhttp的封装,Fluent 语法的 http 工具包,语法参考 HttpClient Fluent API。 使用 maven <dependency><groupId>net.dreamlu</groupId><artifactId>mica-http</artifactId><version>${version}</version></dependency> gradle compile("net.dreamlu:mica-http:${version}") 使用文档 设定全局日志级别 N...
•:zap: mica-http 优化拦截器,支持多个,将日志拦截器放到最后。•:zap: gradle use platform replace enforcedPlatform。•:zap: mica-cloud 优化 RestTemplate Bean 添加配置开关,默认不开启.•:arrow_up: 依赖升级 swagger-bootstrap-ui 到1.9.5. 1. 介绍 mica-http 自从 `v1.1.3` 加入到 mica 最近...
mica-auto (Spring boot starter 利器): https://gitee.com/596392912/mica-auto mica-weixin(jfinal weixin 的 spring boot starter): https://gitee.com/596392912/mica-weixin mica-mqtt(基于 t-io 实现的 mqtt组件): https://gitee.com/596392912/mica-mqtt Spring cloud 微服务 http2 方案(h2c): https...
$ curl -i --basic -u mica:mica -X POST "http://localhost:8083/api/v1/mqtt/unsubscribe" -d '{"topic":"a","clientId":"example"}' {"code":1}消息批量发布POST /api/v1/mqtt/publish/batch批量发布 MQTT 消息。Parameters (json):...
This branch is 173 commits behind dromara/mica-mqtt:master. Folders and files Name Last commit message Last commit date parent directory .. http-client.env.json ✨ 添加 idea http 文件,方便 http api 调试。 Jan 7, 2022 mica-mqtt-api.http ✨ api 接口添加 endpoints 列表。 Apr 30, 2022 ...
要把mica bom 放 cloud 的 dependencies 依赖的前面。 或者自己在 dependencyManagement 里 加上 okhttp 版本依赖,注意也是放 cloud dependencies 的上面。 <dependencyManagement><dependencies><dependency><groupId>com.squareup.okhttp3</groupId><artifactId>okhttp</artifactId><version>3.14.2</version></depende...
windwos下nginx 配置https并http强制跳转https 一、首先配置证书文件 申请证书文件,这里就不做详细过程了,直接看证书文件结果。 这是两个证书的关键文件 打开ngxin下conf文件夹下的 ngxin.conf 配置文件,往下翻,找到 server{listen:443;} 这一部分,443 端口就是专门给 https用的。
A simple method for cell sheet fabrication using mica surfaces grafted with peptide detergent A(6)K. Macromol Biosci 2010;10:881e6.Qiu F, Chen Y, Cheng J, Wang C, Xu H, Zhao X. A simple method for cell sheet fabrication using mica surfaces grafted with pe...