public class LogFastHttpDataFetcher extends Object
HttpDataFetcher
with the sole purpose of API request loggingConstructor and Description |
---|
LogFastHttpDataFetcher(SdkInternalConfiguration config,
org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient httpClient,
UnifiedOddsStatistics statsBean,
HttpResponseHandler responseDataHandler,
UserAgentProvider userAgentProvider) |
@Inject public LogFastHttpDataFetcher(SdkInternalConfiguration config, org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient httpClient, UnifiedOddsStatistics statsBean, HttpResponseHandler responseDataHandler, UserAgentProvider userAgentProvider)
protected HttpData send(org.apache.hc.core5.http.ClassicHttpRequest request, String path) throws CommunicationException
CommunicationException
public HttpData get(String path) throws CommunicationException
CommunicationException
public HttpData post(String path, org.apache.hc.core5.http.HttpEntity content) throws CommunicationException
CommunicationException
Copyright © 2016–2025. All rights reserved.