public final class HTTP extends Object
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
get(URI uri) |
static void |
get(URI uri,
OutputStream out) |
static String |
getAsString(URI uri) |
static byte[] |
post(URI uri,
byte[] bytes) |
static void |
post(URI uri,
byte[] bytes,
OutputStream out) |
public static String getAsString(URI uri) throws IOException
IOExceptionpublic static byte[] get(URI uri) throws IOException
IOExceptionpublic static void get(URI uri, OutputStream out) throws IOException
IOExceptionpublic static byte[] post(URI uri, byte[] bytes) throws IOException
IOExceptionpublic static void post(URI uri, byte[] bytes, OutputStream out) throws IOException
IOExceptionCopyright © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.