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
  • Constructor Details

    • OptionsFactoryBean

      public OptionsFactoryBean()
  • Method Details

    • getObjectType

      public Class<?> getObjectType()
      Specified by:
      getObjectType in interface org.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 interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException
    • getObject

      public feign.Request.Options getObject() throws Exception
      Specified by:
      getObject in interface org.springframework.beans.factory.FactoryBean<feign.Request.Options>
      Throws:
      Exception
    • setContextId

      public void setContextId(String contextId)