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