类 TestRestTemplateContextCustomizer.TestRestTemplateFactory

java.lang.Object
cn.taketoday.framework.test.web.client.TestRestTemplateContextCustomizer.TestRestTemplateFactory
所有已实现的接口:
cn.taketoday.beans.factory.Aware, cn.taketoday.beans.factory.FactoryBean<TestRestTemplate>, cn.taketoday.context.ApplicationContextAware
封闭类:
TestRestTemplateContextCustomizer

public static class TestRestTemplateContextCustomizer.TestRestTemplateFactory extends Object implements cn.taketoday.beans.factory.FactoryBean<TestRestTemplate>, cn.taketoday.context.ApplicationContextAware
FactoryBean used to create and configure a TestRestTemplate.
  • 字段详细资料

  • 构造器详细资料

    • TestRestTemplateFactory

      public TestRestTemplateFactory()
  • 方法详细资料

    • setApplicationContext

      public void setApplicationContext(cn.taketoday.context.ApplicationContext applicationContext) throws cn.taketoday.beans.BeansException
      指定者:
      setApplicationContext 在接口中 cn.taketoday.context.ApplicationContextAware
      抛出:
      cn.taketoday.beans.BeansException
    • isSslEnabled

      private boolean isSslEnabled(cn.taketoday.context.ApplicationContext context)
    • getRestTemplateBuilder

      private cn.taketoday.web.client.config.RestTemplateBuilder getRestTemplateBuilder(cn.taketoday.context.ApplicationContext applicationContext)
    • isSingleton

      public boolean isSingleton()
      指定者:
      isSingleton 在接口中 cn.taketoday.beans.factory.FactoryBean<TestRestTemplate>
    • getObjectType

      public Class<?> getObjectType()
      指定者:
      getObjectType 在接口中 cn.taketoday.beans.factory.FactoryBean<TestRestTemplate>
    • getObject

      public TestRestTemplate getObject() throws Exception
      指定者:
      getObject 在接口中 cn.taketoday.beans.factory.FactoryBean<TestRestTemplate>
      抛出:
      Exception