Class HertsHttpClient


  • public class HertsHttpClient
    extends java.lang.Object
    Herts http client
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static HertsHttpClientBuilder builder​(java.lang.String host)  
      <T extends org.hertsstack.core.service.HertsService>
      T
      createHertsService​(java.lang.Class<T> classType)  
      <T extends org.hertsstack.core.service.HertsService>
      T
      createHertsService​(java.lang.Class<T> classType, java.util.Map<java.lang.String,​java.lang.String> customHeaders)  
      <T extends org.hertsstack.core.service.HertsService>
      T
      recreateHertsService​(java.lang.Class<T> classType)  
      <T extends org.hertsstack.core.service.HertsService>
      T
      recreateHertsService​(java.lang.Class<T> classType, java.util.Map<java.lang.String,​java.lang.String> customHeader)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • createHertsService

        public <T extends org.hertsstack.core.service.HertsService> T createHertsService​(java.lang.Class<T> classType)
      • createHertsService

        public <T extends org.hertsstack.core.service.HertsService> T createHertsService​(java.lang.Class<T> classType,
                                                                                         java.util.Map<java.lang.String,​java.lang.String> customHeaders)
      • recreateHertsService

        public <T extends org.hertsstack.core.service.HertsService> T recreateHertsService​(java.lang.Class<T> classType)
      • recreateHertsService

        public <T extends org.hertsstack.core.service.HertsService> T recreateHertsService​(java.lang.Class<T> classType,
                                                                                           java.util.Map<java.lang.String,​java.lang.String> customHeader)