Package com.github.loki4j.logback
Class ApacheHttpSender
- java.lang.Object
-
- com.github.loki4j.logback.AbstractHttpSender
-
- com.github.loki4j.logback.ApacheHttpSender
-
- All Implemented Interfaces:
HttpSender
public class ApacheHttpSender extends AbstractHttpSender
A configurator forApacheHttpClient
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.github.loki4j.logback.AbstractHttpSender
AbstractHttpSender.BasicAuth
-
-
Constructor Summary
Constructors Constructor Description ApacheHttpSender()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpConfig.BuildergetConfig()voidsetConnectionKeepAliveMs(long connectionKeepAliveMs)voidsetMaxConnections(int maxConnections)-
Methods inherited from class com.github.loki4j.logback.AbstractHttpSender
fillHttpConfig, getHttpClientFactory, getUrl, setAuth, setConnectionTimeoutMs, setRequestTimeoutMs, setTenantId, setUrl
-
-
-
-
Method Detail
-
setMaxConnections
public void setMaxConnections(int maxConnections)
-
setConnectionKeepAliveMs
public void setConnectionKeepAliveMs(long connectionKeepAliveMs)
-
getConfig
public HttpConfig.Builder getConfig()
-
-