public final class NetUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.net.URL |
buildBucketPath(java.lang.String bucketName,
ConnectionDetails connectionDetails,
BulkCommand command) |
static java.lang.String |
buildHostField(ConnectionDetails details) |
static java.lang.String |
buildPath(java.lang.String basePath,
java.lang.String path) |
static java.lang.String |
buildQueryString(java.util.Map<java.lang.String,java.lang.String> queryParams) |
static java.net.URL |
buildUrl(ConnectionDetails connectionDetails,
java.lang.String path) |
static java.net.URL |
buildUrl(ConnectionDetails connectionDetails,
java.lang.String path,
java.util.Map<java.lang.String,java.lang.String> params) |
static java.lang.String |
filterHttp(java.lang.String url) |
static int |
getPort(java.net.URL url) |
public static java.net.URL buildUrl(ConnectionDetails connectionDetails, java.lang.String path) throws java.net.MalformedURLException
java.net.MalformedURLException
public static java.net.URL buildUrl(ConnectionDetails connectionDetails, java.lang.String path, java.util.Map<java.lang.String,java.lang.String> params) throws java.net.MalformedURLException
java.net.MalformedURLException
public static java.lang.String buildQueryString(java.util.Map<java.lang.String,java.lang.String> queryParams)
public static java.lang.String buildPath(java.lang.String basePath, java.lang.String path)
public static java.net.URL buildBucketPath(java.lang.String bucketName, ConnectionDetails connectionDetails, BulkCommand command) throws java.net.MalformedURLException
java.net.MalformedURLException
public static java.lang.String buildHostField(ConnectionDetails details)
public static java.lang.String filterHttp(java.lang.String url)
public static int getPort(java.net.URL url)