@InterfaceAudience.Private public class HttpFSUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static byte[] |
EMPTY_BYTES |
static String |
SERVICE_NAME |
static String |
SERVICE_VERSION |
| Constructor and Description |
|---|
HttpFSUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
jsonParse(HttpURLConnection conn)
Convenience method that JSON Parses the
InputStream of a
HttpURLConnection. |
public static final String SERVICE_NAME
public static final String SERVICE_VERSION
public static final byte[] EMPTY_BYTES
public static Object jsonParse(HttpURLConnection conn) throws IOException
InputStream of a
HttpURLConnection.conn - the HttpURLConnection.IOException - thrown if the InputStream could not be
JSON parsed.Copyright © 2008–2023 Apache Software Foundation. All rights reserved.