public class HttpClientUtil extends Object
Constructor and Description |
---|
HttpClientUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
postJson(org.apache.http.client.HttpClient client,
String url,
byte[] bytes,
boolean gzipped) |
static boolean |
postJson(org.apache.http.client.HttpClient client,
String url,
String json) |
public static boolean postJson(org.apache.http.client.HttpClient client, String url, String json) throws IOException, TikaClientException
IOException
TikaClientException
public static boolean postJson(org.apache.http.client.HttpClient client, String url, byte[] bytes, boolean gzipped) throws IOException, TikaClientException
IOException
TikaClientException
Copyright © 2007–2023 The Apache Software Foundation. All rights reserved.