public final class Util extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
canonicalMetadataKey(String meta) |
static HttpURLConnection |
createHttpConnection(URL endpointUrl,
String httpMethod,
Map<String,String> headers,
int connectTimeoutMs,
int readTimeoutMs) |
static String |
toHex(byte[] data)
Converts byte data to a Hex-encoded string.
|
static URL |
toUrl(String url) |
static String |
urlEncode(String url,
boolean keepPathSlash) |
public static HttpURLConnection createHttpConnection(URL endpointUrl, String httpMethod, Map<String,String> headers, int connectTimeoutMs, int readTimeoutMs)
public static String toHex(byte[] data)
data - data to hex encode.Copyright © 2021. All rights reserved.