public class HttpHelper extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpHelper.ResponseData |
| Constructor and Description |
|---|
HttpHelper(SdkInternalConfiguration config,
org.apache.hc.client5.http.impl.classic.CloseableHttpClient httpClient,
MessageAndActionExtractor messageExtractor,
UserAgentProvider userAgent,
TraceIdProvider traceIdProvider) |
| Modifier and Type | Method and Description |
|---|---|
HttpHelper.ResponseData |
delete(String path) |
protected String |
extractTraceId(org.apache.hc.core5.http.ClassicHttpRequest request) |
HttpHelper.ResponseData |
post(String path) |
HttpHelper.ResponseData |
put(String path) |
@Inject public HttpHelper(SdkInternalConfiguration config, org.apache.hc.client5.http.impl.classic.CloseableHttpClient httpClient, MessageAndActionExtractor messageExtractor, UserAgentProvider userAgent, TraceIdProvider traceIdProvider)
public HttpHelper.ResponseData post(String path) throws CommunicationException
CommunicationExceptionpublic HttpHelper.ResponseData put(String path) throws CommunicationException
CommunicationExceptionpublic HttpHelper.ResponseData delete(String path) throws CommunicationException
CommunicationExceptionprotected String extractTraceId(org.apache.hc.core5.http.ClassicHttpRequest request)
Copyright © 2016–2025. All rights reserved.