public class FeignDepot extends Object implements Serializable
| Modifier and Type | Method and Description |
|---|---|
<T> T |
build(Class<T> clazz) |
<T> T |
build(Class<T> clazz,
String endpoint) |
<T> T |
build(Class<T> clazz,
String endpoint,
feign.codec.ErrorDecoder decoder)
Build client for key
|
static FeignDepot |
create(String key) |
io.vertx.core.json.JsonObject |
getConfig() |
String |
getEndpoint() |
void |
setEndpoint(String endpoint) |
public static FeignDepot create(String key)
public <T> T build(Class<T> clazz)
T - clazz - public <T> T build(Class<T> clazz, String endpoint, feign.codec.ErrorDecoder decoder)
T - clazz - public io.vertx.core.json.JsonObject getConfig()
public String getEndpoint()
public void setEndpoint(String endpoint)
Copyright © 2018. All rights reserved.