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) |
Modifier and Type | Method and Description |
---|---|
HttpHelper.ResponseData |
delete(String path) |
HttpHelper.ResponseData |
executeRequest(org.apache.hc.core5.http.ClassicHttpRequest httpRequest,
String path) |
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)
public HttpHelper.ResponseData post(String path) throws CommunicationException
CommunicationException
public HttpHelper.ResponseData put(String path) throws CommunicationException
CommunicationException
public HttpHelper.ResponseData delete(String path) throws CommunicationException
CommunicationException
public HttpHelper.ResponseData executeRequest(org.apache.hc.core5.http.ClassicHttpRequest httpRequest, String path) throws CommunicationException
CommunicationException
Copyright © 2016–2025. All rights reserved.