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
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.