Class FeignClientBuilder
java.lang.Object
org.springframework.cloud.openfeign.FeignClientBuilder
A builder for creating Feign clients without using the
FeignClient annotation.
This builder builds the Feign client exactly like it would be created by using the
FeignClient annotation.
- Author:
- Sven Döring, Matt King, Sam Kruglov, Olga Maciaszek-Sharma
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilder of feign targets. -
Constructor Summary
ConstructorsConstructorDescriptionFeignClientBuilder(org.springframework.context.ApplicationContext applicationContext) -
Method Summary
Modifier and TypeMethodDescription<T> FeignClientBuilder.Builder<T><T> FeignClientBuilder.Builder<T>forType(Class<T> type, FeignClientFactoryBean clientFactoryBean, String name)
-
Constructor Details
-
FeignClientBuilder
public FeignClientBuilder(org.springframework.context.ApplicationContext applicationContext)
-
-
Method Details
-
forType
-
forType
public <T> FeignClientBuilder.Builder<T> forType(Class<T> type, FeignClientFactoryBean clientFactoryBean, String name)
-