public class FeignClientFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<Object>, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware
| Constructor and Description |
|---|
FeignClientFactoryBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected void |
configureFeign(FeignContext context,
feign.Feign.Builder builder) |
protected void |
configureUsingConfiguration(FeignContext context,
feign.Feign.Builder builder) |
protected void |
configureUsingProperties(FeignClientProperties.FeignClientConfiguration config,
feign.Feign.Builder builder) |
boolean |
equals(Object o) |
protected feign.Feign.Builder |
feign(FeignContext context) |
protected <T> T |
get(FeignContext context,
Class<T> type) |
org.springframework.context.ApplicationContext |
getApplicationContext() |
String |
getContextId() |
Class<?> |
getFallback() |
Class<?> |
getFallbackFactory() |
protected <T> Map<String,T> |
getInheritedAwareInstances(FeignContext context,
Class<T> type) |
protected <T> T |
getInheritedAwareOptional(FeignContext context,
Class<T> type) |
String |
getName() |
Object |
getObject() |
Class<?> |
getObjectType() |
protected <T> T |
getOptional(FeignContext context,
Class<T> type) |
String |
getPath() |
Class<?> |
getType() |
String |
getUrl() |
int |
hashCode() |
boolean |
isDecode404() |
boolean |
isInheritParentContext() |
boolean |
isSingleton() |
protected <T> T |
loadBalance(feign.Feign.Builder builder,
FeignContext context,
feign.Target.HardCodedTarget<T> target) |
void |
setApplicationContext(org.springframework.context.ApplicationContext context) |
void |
setContextId(String contextId) |
void |
setDecode404(boolean decode404) |
void |
setFallback(Class<?> fallback) |
void |
setFallbackFactory(Class<?> fallbackFactory) |
void |
setInheritParentContext(boolean inheritParentContext) |
void |
setName(String name) |
void |
setPath(String path) |
void |
setType(Class<?> type) |
void |
setUrl(String url) |
String |
toString() |
public void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanprotected feign.Feign.Builder feign(FeignContext context)
protected void configureFeign(FeignContext context, feign.Feign.Builder builder)
protected void configureUsingConfiguration(FeignContext context, feign.Feign.Builder builder)
protected void configureUsingProperties(FeignClientProperties.FeignClientConfiguration config, feign.Feign.Builder builder)
protected <T> T get(FeignContext context, Class<T> type)
protected <T> T getOptional(FeignContext context, Class<T> type)
protected <T> T getInheritedAwareOptional(FeignContext context, Class<T> type)
protected <T> Map<String,T> getInheritedAwareInstances(FeignContext context, Class<T> type)
protected <T> T loadBalance(feign.Feign.Builder builder,
FeignContext context,
feign.Target.HardCodedTarget<T> target)
public Object getObject()
getObject in interface org.springframework.beans.factory.FactoryBean<Object>public Class<?> getObjectType()
getObjectType in interface org.springframework.beans.factory.FactoryBean<Object>public boolean isSingleton()
isSingleton in interface org.springframework.beans.factory.FactoryBean<Object>public Class<?> getType()
public void setType(Class<?> type)
public String getName()
public void setName(String name)
public String getContextId()
public void setContextId(String contextId)
public String getUrl()
public void setUrl(String url)
public String getPath()
public void setPath(String path)
public boolean isDecode404()
public void setDecode404(boolean decode404)
public boolean isInheritParentContext()
public void setInheritParentContext(boolean inheritParentContext)
public org.springframework.context.ApplicationContext getApplicationContext()
public void setApplicationContext(org.springframework.context.ApplicationContext context)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic Class<?> getFallback()
public void setFallback(Class<?> fallback)
public Class<?> getFallbackFactory()
public void setFallbackFactory(Class<?> fallbackFactory)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.