Class OptionsFactoryBean
java.lang.Object
org.springframework.cloud.openfeign.OptionsFactoryBean
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.beans.factory.FactoryBean<feign.Request.Options>
,org.springframework.context.ApplicationContextAware
public class OptionsFactoryBean
extends Object
implements org.springframework.beans.factory.FactoryBean<feign.Request.Options>, org.springframework.context.ApplicationContextAware
This factory bean is meant to create
Request.Options
instance as per the
applicable configurations.- Author:
- Jasbir Singh
-
Field Summary
Fields inherited from interface org.springframework.beans.factory.FactoryBean
OBJECT_TYPE_ATTRIBUTE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfeign.Request.Options
Class<?>
void
setApplicationContext
(org.springframework.context.ApplicationContext applicationContext) void
setContextId
(String contextId) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Constructor Details
-
OptionsFactoryBean
public OptionsFactoryBean()
-
-
Method Details
-
getObjectType
- Specified by:
getObjectType
in interfaceorg.springframework.beans.factory.FactoryBean<feign.Request.Options>
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContext
in interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
getObject
- Specified by:
getObject
in interfaceorg.springframework.beans.factory.FactoryBean<feign.Request.Options>
- Throws:
Exception
-
setContextId
-