-
Spring Boot OpenFeign 配置 HTTPS 客户端证书
配置代码 其中证书文件使用base64加密,以字符串形式配置在application.yaml文件中。 import lombok.RequiredArgsConstructor; import o
2024-04-07, Views: 527 , Topics: Spring Boot OpenFeign HTTPS
-
Spring Boot OpenFeign 动态切换 Url 报错解决方法
错误信息 No Feign Client for loadBalancing defined. Did you forget to include sprin
2023-07-12, Views: 1562 , Topics: Spring Boot OpenFeign
-
Spring Boot OpenFeign 发送 form-url-encoded 表单数据
代码 注意:Map中的value泛型必须是?(即:Map<String, ?>),否则会带上modCount、table这些Map的字段。 @Fei
2023-07-11, Views: 890 , Topics: Spring Boot OpenFeign
-
Spring Boot OpenFeign 打印完整请求日志
注意 必须配置OpenFeign接口所在的包名的日志级别为Debug。 logging: level: com.example.demo.feign
2023-02-21, Views: 3083 , Topics: Spring Boot OpenFeign
-
Spring Boot OpenFeign Get 请求 415 解决方法
OpenFeign Client User对象想转为QueryString请求参数。 @FeignClient(name = "user-client", ur
2023-02-20, Views: 1558 , Topics: Spring Boot OpenFeign
-
Spring Boot OpenFeign PATCH 请求报错:java.net.ProtocolException: Invalid HTTP method: PATCH
错误信息 java.net.ProtocolException: Invalid HTTP method: PATCH at java.base/jav
2023-02-17, Views: 2348 , Topics: Spring Boot OpenFeign
-
Spring Cloud OpenFeign MultipartException 上传文件异常
错误信息 错误一:MultipartException MultipartException: Current request is not a multipa
2022-10-26, Views: 2102 , Topics: Spring Boot OpenFeign
-
Spring Cloud OpenFeign 自定义 ErrorDecoder
示例代码 配置类 形参中注入Decoder(默认启动时就会注入Decoder,参见默认配置FeignClientsConfiguration),解析respon
2022-10-25, Views: 1675 , Topics: OpenFeign Spring Boot
-
Spring Cloud OpenFeign 使用指定配置
需求 因为OpenFeign被添加在公共库中,且注入到了全局Decoder,所有Feign客户端都使用了@Decoder。 有特殊的客户端不适用全局Decode
2022-10-24, Views: 1426 , Topics: Spring Boot OpenFeign
-
Spring OpenFegin 实现微服务间 RPC 调用
添加依赖 Spring Boot 2.6.7、openfeign 3.1.2 <parent> <groupId>org.spr
2022-10-05, Views: 1424 , Topics: OpenFeign Spring Boot