Package org.hertsstack.httpclient
Class HertsHttpClient
- java.lang.Object
-
- org.hertsstack.httpclient.HertsHttpClient
-
public class HertsHttpClient extends java.lang.Object
Herts http client
-
-
Constructor Summary
Constructors Constructor Description HertsHttpClient(HertsHttpClientBuilder builder)
-
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>
TcreateHertsService(java.lang.Class<T> classType)
<T extends org.hertsstack.core.service.HertsService>
TcreateHertsService(java.lang.Class<T> classType, java.util.Map<java.lang.String,java.lang.String> customHeaders)
<T extends org.hertsstack.core.service.HertsService>
TrecreateHertsService(java.lang.Class<T> classType)
<T extends org.hertsstack.core.service.HertsService>
TrecreateHertsService(java.lang.Class<T> classType, java.util.Map<java.lang.String,java.lang.String> customHeader)
-
-
-
Constructor Detail
-
HertsHttpClient
public HertsHttpClient(HertsHttpClientBuilder builder)
-
-
Method Detail
-
builder
public static HertsHttpClientBuilder builder(java.lang.String host)
-
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)
-
-