Browse Source

public FeignLoadBalancer.RibbonRequest and FeignLoadBalancer.RibbonResponse to the user to customize their needs (#2536)

pull/6/head
Kerwin Bryant 7 years ago committed by Ryan Baxter
parent
commit
90094b6b9a
  1. 4
      spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/feign/ribbon/FeignLoadBalancer.java

4
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); 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 Request request;
private final Client client; 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 URI uri;
private final Response response; private final Response response;

Loading…
Cancel
Save