public class HttpUtils extends Object
Constructor and Description |
---|
HttpUtils() |
Modifier and Type | Method and Description |
---|---|
static com.fasterxml.jackson.databind.JsonNode |
executeDeleteRequest(org.apache.http.impl.client.CloseableHttpClient httpClient,
String url,
Map<String,String> headers) |
static com.fasterxml.jackson.databind.JsonNode |
executeGetRequest(org.apache.http.impl.client.CloseableHttpClient httpClient,
String url,
Map<String,String> headers,
boolean allow404Response) |
static com.fasterxml.jackson.databind.JsonNode |
executePatchRequest(org.apache.http.impl.client.CloseableHttpClient httpClient,
String url,
Map<String,String> headers,
String body) |
static com.fasterxml.jackson.databind.JsonNode |
executePostRequest(org.apache.http.impl.client.CloseableHttpClient httpClient,
String url,
Map<String,String> headers,
String body) |
static org.apache.http.impl.client.CloseableHttpClient |
initHttpClient() |
public static org.apache.http.impl.client.CloseableHttpClient initHttpClient()
public static com.fasterxml.jackson.databind.JsonNode executePatchRequest(org.apache.http.impl.client.CloseableHttpClient httpClient, String url, Map<String,String> headers, String body)
public static com.fasterxml.jackson.databind.JsonNode executePostRequest(org.apache.http.impl.client.CloseableHttpClient httpClient, String url, Map<String,String> headers, String body)
public static com.fasterxml.jackson.databind.JsonNode executeGetRequest(org.apache.http.impl.client.CloseableHttpClient httpClient, String url, Map<String,String> headers, boolean allow404Response)
Copyright © 2014–2023 Apache Software Foundation. All rights reserved.