Class OkHttpSenderFactoryBean

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean

    public class OkHttpSenderFactoryBean
    extends org.springframework.beans.factory.config.AbstractFactoryBean
    Spring XML config does not support chained builders. This converts accordingly
    • Constructor Detail

      • OkHttpSenderFactoryBean

        public OkHttpSenderFactoryBean()
    • Method Detail

      • createInstance

        protected OkHttpSender createInstance()
        Specified by:
        createInstance in class org.springframework.beans.factory.config.AbstractFactoryBean
      • getObjectType

        public Class<? extends OkHttpSender> getObjectType()
        Specified by:
        getObjectType in interface org.springframework.beans.factory.FactoryBean
        Specified by:
        getObjectType in class org.springframework.beans.factory.config.AbstractFactoryBean
      • isSingleton

        public boolean isSingleton()
        Specified by:
        isSingleton in interface org.springframework.beans.factory.FactoryBean
        Overrides:
        isSingleton in class org.springframework.beans.factory.config.AbstractFactoryBean
      • destroyInstance

        protected void destroyInstance​(Object instance)
        Overrides:
        destroyInstance in class org.springframework.beans.factory.config.AbstractFactoryBean
      • setEndpoint

        public void setEndpoint​(String endpoint)
      • setEncoding

        public void setEncoding​(Encoding encoding)
      • setMaxRequests

        public void setMaxRequests​(Integer maxRequests)
      • setConnectTimeout

        public void setConnectTimeout​(Integer connectTimeout)
      • setReadTimeout

        public void setReadTimeout​(Integer readTimeout)
      • setWriteTimeout

        public void setWriteTimeout​(Integer writeTimeout)
      • setCompressionEnabled

        public void setCompressionEnabled​(Boolean compressionEnabled)
      • setMessageMaxBytes

        public void setMessageMaxBytes​(Integer messageMaxBytes)