Class HttpServiceFactory


  • public class HttpServiceFactory
    extends Object
    Factory class for Service proxies using Spring's HTTP invoker
    • Constructor Detail

      • HttpServiceFactory

        public HttpServiceFactory()
    • Method Detail

      • clear

        public void clear()
        Removes any cached proxies
      • destroy

        public void destroy()
        Destroys any acquired resources
      • getConnectTimeout

        public int getConnectTimeout()
      • getProxy

        public <T extends Service> T getProxy​(Class<T> serviceInterface)
      • getReadTimeout

        public int getReadTimeout()
      • getRootUrl

        public String getRootUrl()
      • setConnectTimeout

        public void setConnectTimeout​(int connectTimeout)
        Sets the connection timeout. Set to zero for infinite.
      • setReadTimeout

        public void setReadTimeout​(int readTimeout)
        Sets the timeout for waiting for a server response once connected. Set to zero for infinite.
      • setRootUrl

        public void setRootUrl​(String rootUrl)