Supports context path when using Ribbon LoadBalancingTarget (#433)
Before, `LoadBalancingTarget` stripped out the path and only used
`URI.getScheme()` and `URI.getHost()` to generate the `Request`.
Now, it will add `URI.getPath()` to the `Request` as well; this is
useful if you want to interact with endpoints with a context-path.
Update README.md Travis CI to point to correct git repository
[![Join the chat at https://gitter.im/Netflix/feign](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/Netflix/feign?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
Feign is a java to http client binder inspired by [Retrofit](https://github.com/square/retrofit), [JAXRS-2.0](https://jax-rs-spec.java.net/nonav/2.0/apidocs/index.html), and [WebSocket](http://www.oracle.com/technetwork/articles/java/jsr356-1937161.html). Feign's first goal was reducing the complexity of binding [Denominator](https://github.com/Netflix/Denominator) uniformly to http apis regardless of [restfulness](http://www.slideshare.net/adrianfcole/99problems).
@ -45,26 +45,41 @@ public class LoadBalancingTarget<T> implements Target<T> {
@@ -45,26 +45,41 @@ public class LoadBalancingTarget<T> implements Target<T> {
@ -79,7 +94,7 @@ public class LoadBalancingTarget<T> implements Target<T> {
@@ -79,7 +94,7 @@ public class LoadBalancingTarget<T> implements Target<T> {
@Override
publicStringurl(){
returnname;
returnString.format("%s://%s",scheme,path);
}
/**
@ -92,7 +107,7 @@ public class LoadBalancingTarget<T> implements Target<T> {
@@ -92,7 +107,7 @@ public class LoadBalancingTarget<T> implements Target<T> {
@ -121,6 +136,6 @@ public class LoadBalancingTarget<T> implements Target<T> {
@@ -121,6 +136,6 @@ public class LoadBalancingTarget<T> implements Target<T> {