From 90094b6b9a49581cb503c509d8e1bc01a9982dc3 Mon Sep 17 00:00:00 2001 From: Kerwin Bryant Date: Wed, 20 Dec 2017 03:43:39 +0800 Subject: [PATCH] public FeignLoadBalancer.RibbonRequest and FeignLoadBalancer.RibbonResponse to the user to customize their needs (#2536) --- .../cloud/netflix/feign/ribbon/FeignLoadBalancer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/feign/ribbon/FeignLoadBalancer.java b/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/feign/ribbon/FeignLoadBalancer.java index da47db68..da51ae95 100644 --- a/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/feign/ribbon/FeignLoadBalancer.java +++ b/spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/feign/ribbon/FeignLoadBalancer.java @@ -111,7 +111,7 @@ public class FeignLoadBalancer extends return super.reconstructURIWithServer(server, uri); } - static class RibbonRequest extends ClientRequest implements Cloneable { + protected static class RibbonRequest extends ClientRequest implements Cloneable { private final Request request; private final Client client; @@ -175,7 +175,7 @@ public class FeignLoadBalancer extends } } - static class RibbonResponse implements IResponse { + protected static class RibbonResponse implements IResponse { private final URI uri; private final Response response;