public class RibbonClient extends Object implements Client
MyService api = Feign.builder.client(RibbonClient.create()).target(MyService.class,
"http://myAppProd");
Where myAppProd is the ribbon client name and myAppProd.ribbon.listOfServers
configuration is set.| Modifier and Type | Class and Description |
|---|---|
static class |
RibbonClient.Builder |
Client.Default, Client.Proxied| Constructor and Description |
|---|
RibbonClient()
Deprecated.
Use the
create() |
RibbonClient(Client delegate)
Deprecated.
Use the
create() |
| Modifier and Type | Method and Description |
|---|---|
static RibbonClient.Builder |
builder() |
static RibbonClient |
create() |
Response |
execute(Request request,
Request.Options options) |
@Deprecated public RibbonClient()
create()@Deprecated public RibbonClient(Client delegate)
create()public static RibbonClient create()
public static RibbonClient.Builder builder()
public Response execute(Request request, Request.Options options) throws IOException
execute in interface ClientIOExceptionCopyright © 2012–2020 OpenFeign. All rights reserved.