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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfeign.Request.OptionsClass<?>voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) voidsetContextId(String contextId) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.FactoryBean
isSingleton
-
Constructor Details
-
OptionsFactoryBean
public OptionsFactoryBean()
-
-
Method Details
-
getObjectType
- Specified by:
getObjectTypein interfaceorg.springframework.beans.factory.FactoryBean<feign.Request.Options>
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
getObject
- Specified by:
getObjectin interfaceorg.springframework.beans.factory.FactoryBean<feign.Request.Options>- Throws:
Exception
-
setContextId
-