public class LogHttpDataFetcher extends Object
HttpDataFetcher
with the sole purpose of API request loggingConstructor and Description |
---|
LogHttpDataFetcher(SdkInternalConfiguration config,
org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient httpClient,
UnifiedOddsStatistics statsBean,
HttpResponseHandler httpResponseHandler,
UserAgentProvider userAgentProvider) |
@Inject public LogHttpDataFetcher(SdkInternalConfiguration config, org.apache.hc.client5.http.impl.async.CloseableHttpAsyncClient httpClient, UnifiedOddsStatistics statsBean, HttpResponseHandler httpResponseHandler, 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.