Class FeignServiceClientFactory
java.lang.Object
cn.sliew.carp.framework.feign.client.FeignServiceClientFactory
- All Implemented Interfaces:
ServiceClientFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Tcreate(Class<T> type, ServiceEndpoint serviceEndpoint) Builds a concrete client capable of making HTTP calls.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cn.sliew.carp.framework.feign.client.ServiceClientFactory
supports
-
Constructor Details
-
FeignServiceClientFactory
public FeignServiceClientFactory()
-
-
Method Details
-
create
Description copied from interface:ServiceClientFactoryBuilds a concrete client capable of making HTTP calls.- Specified by:
createin interfaceServiceClientFactory- Type Parameters:
T- type of client , usually an interface with all the remote method definitions.- Parameters:
type- client typeserviceEndpoint- endpoint configuration- Returns:
- an implementation of the type of client given.
-