Class FeignClientBuilder.Builder<T>
java.lang.Object
org.springframework.cloud.openfeign.FeignClientBuilder.Builder<T>
- Type Parameters:
T
- type of target
- Enclosing class:
- FeignClientBuilder
Builder of feign targets.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
customize
(FeignBuilderCustomizer customizer) Applies aFeignBuilderCustomizer
to the underlyingFeign.Builder
.decode404
(boolean decode404) inheritParentContext
(boolean inheritParentContext)
-
Method Details
-
url
-
customize
Applies aFeignBuilderCustomizer
to the underlyingFeign.Builder
. May be called multiple times.- Parameters:
customizer
- applied in the same order as supplied here after applying customizers found in the context.- Returns:
- the
FeignClientBuilder.Builder
with the customizer added
-
contextId
-
path
-
decode404
-
inheritParentContext
-
fallback
-
build
- Returns:
- the created Feign client
-