Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
假冒客户端和属性中的名称
我有这样的东西 FeignClient name airport service name 我有编译错误 例如 java lang IllegalStateException 服务 ID 不合法主机名 airport service nam
Java
Spring
REST
Feign
Openfeign ErrorDecoder 导致 java.io.IOException:流已关闭
当我尝试实施时ErrorDecoder为了解码假装异常 我在中找到了流response body 已关闭 因此当我尝试读取流并将其转换为字符串时 它会抛出java io IOException stream is closed 这真的很困惑
Java
Stream
Feign
OpenFeign
带 List 参数的 Spring Cloud Feign Client @RequestParam 会创建错误的请求
我有一个 Spring Cloud Feign Client 映射定义如下 RequestMapping method RequestMethod GET value search findByIdIn Resources
springCloud
springcloudnetflix
netflixfeign
springCloudFeign
Feign
Open Feignclient 与 Netflix Ribbon 集成在 springboot 中不起作用
Feing客户端服务器 RestController public class FeinApiCall Autowired CustomFeignClient customFeignClient GetMapping getinfothro
springboot
Ribbon
Feign
OpenFeign
主体参数不能与表单参数一起使用 - 具有 Headers 和 json 数据的 Feign 客户端
我有一个像这样的 FeignClient RequestLine POST enroll Headers header1 header1 header2 header2 Content Type application json Respo
Java
Spring
HttpClient
Feign
Feign 客户端中不支持 Spring Data Pageable 作为 RequestParam
我一直在尝试为我的其余 api 公开一个 Feign Client 它采用 Pageable 作为输入并定义了 PageDefaults 控制器 GetMapping value data produces MediaType APPLIC
Spring
springdata
springCloud
springCloudFeign
Feign
@EnableFeignClients 和 @FeignClient 在自动装配“FeignContext”NoSuchBeanException 上失败
我正在编写的微服务需要与我们平台中的其他微服务进行通信 在这次尝试中 我们理想的解决方案是Spring Cloud Netflix Feign 实施一个 FeignClient 但是 当我尝试时 我遇到了下面的异常 Autowired Re
Java
springboot
springcloudnetflix
springCloudFeign
Feign
如何使用 Spring Boot 和 @FeignClient 发送 Bearer 授权令牌
我正在使用 Spring Boot 编写一个与 HTTP Rest 服务器交互的应用程序 我连接的服务器之一 Wit ai 使用承载者授权令牌 产生成功响应的卷曲请求如下所示 GET message q sample message HTT
Spring
REST
springboot
witai
Feign
如何使用 Jackson 排除空列表项
我正在调用一个 API 该 API 返回一个值数组 这些值被转换为List
Java
json
Jackson
deserialization
Feign
假冒带有 body 的 get 请求
由于某种原因 我需要调用 GET 方法 API 并为其传递 json 请求正文 我实在找不到这样的例子 我想知道是否支持使用 feign 我怎样才能使用 feign 做到这一点 是的 Feign 支持它 您可以执行与 POST 请求相同的操
springboot
Feign
OpenFeign
如何让多个 FeignClient-s 使用相同的 serviceId/name?
假设有 2 个端点 RequestMapping ep1 interface Endpoint1 GetMapping echo String echo RequestMapping ep2 interface Endpoint2 GetM
Spring
springboot
springCloudFeign
Feign
OpenFeign
如何微调Spring Cloud Feign客户端?
春天的云doc http projects spring io spring cloud spring cloud html says 如果 Hystrix 在类路径上 默认情况下 Feign 将包装所有方法 带断路器 这很好 但是如何配置
springCloud
springcloudnetflix
netflixfeign
springCloudFeign
Feign
如何在 FeignClient 中调用带有多个查询字符串参数的 url?
我尝试使用多个查询字符串参数调用 Google API 奇怪的是 我找不到办法做到这一点 这是我的 FeignClient FeignClient name googleMatrix url https maps googleapis co
Spring
springboot
Feign
apache HttpClient 中每条路由的最大连接数和总最大连接数之间有什么区别?
我试图理解它们之间有什么区别 我尝试阅读文档 但没有多大帮助 HttpClientBuilder create setMaxConnPerRoute maxConnectionsPerRoute setMaxConnTotal maxCon
Java
apache
Feign
使用Feign客户端进行Array Multipart[]文件上传
我正在尝试使用 feign 客户端上传多部分文件对象数组 这是我尝试使用 Feign 客户端调用的服务 public ResponseEntity manageFileUpload RequestParam files MultipartF
springCloud
springcloudnetflix
springCloudFeign
Feign
spring-cloud-starter-openfeign:无效的 HTTP 方法:PATCH 执行 PATCH
Context 我有一个 Spring Boot 版本 2 2 6 RELEASE Web 项目 从这个 Web 应用程序 我称之为 APP1 中 我想使用另一个 Web 应用程序 我们称之为 APP2 的 PATCH 方法调用另一个 UR
springCloudFeign
Feign
httppatch
Feign 多部分与 Json 请求部分
我在一项服务中使用一种方法有 Feign 客户端 PostMapping consumes MediaType MULTIPART FORM DATA VALUE MyDto uploadDocument RequestPart file
Java
springCloudFeign
Feign
feign的Fallback机制
对接口使用 FeignClient后声明feign客户端后 可以使用属性fallback指定异常处理类 这个类必须实现 FeignClient作用的接口 且被注入到容器中 FeignClient name service provider1
分布式框架
Java
spring cloud
Feign
feignclient发送get请求,传递参数为对象。
feignclient发送get请求 传递参数为对象 此时不能使用在地址栏传递参数的方式 需要将参数放到请求体中 第一步 修改application yml中配置feign发送请求使用apache httpclient 而不是默认的jdk
Java
springCloud
Feign
GET
对象
springboot启动feign项目报错:Service id not legal hostname
正经学徒 佛系记录 不搞事情 在feign项目中 定义接口调用服务 FeignClient name eureka client public interface TestInterface GetMapping value get Str
springCloud
springboot
Feign
1
2
3
»