Package io.vertx.tp.plugin.feign
Class FeignDepot
- java.lang.Object
-
- io.vertx.tp.plugin.feign.FeignDepot
-
- All Implemented Interfaces:
Serializable
public class FeignDepot extends Object implements Serializable
Plugin for feign client- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Tbuild(Class<T> clazz)<T> Tbuild(Class<T> clazz, String endpoint)<T> Tbuild(Class<T> clazz, String endpoint, feign.codec.ErrorDecoder decoder)static FeignDepotcreate(String key, String rule)io.vertx.core.json.JsonObjectgetConfig()StringgetEndpoint()
-
-
-
Method Detail
-
create
public static FeignDepot create(String key, String rule)
-
build
public <T> T build(Class<T> clazz)
- Type Parameters:
T- FeignApi type- Parameters:
clazz- Input FeignApi class.- Returns:
- Feign Api reference.
-
getEndpoint
public String getEndpoint()
-
getConfig
public io.vertx.core.json.JsonObject getConfig()
-
-