public class SimpleHttpClient extends Object implements Closeable
| Constructor and Description |
|---|
SimpleHttpClient(String threadName) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
String |
post(String url,
byte[] body,
Map<String,String> headers) |
public SimpleHttpClient(String threadName)
public String post(String url, byte[] body, Map<String,String> headers) throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2023–2025 The Apache Software Foundation. All rights reserved.