public final class UriUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static CharMatcher |
PARAM_CHAR_MATCHER |
Modifier and Type | Method and Description |
---|---|
static Couple<java.lang.String> |
splitScheme(java.lang.String url)
Splits the url into 2 parts: the scheme ("http", for instance) and the rest of the URL.
|
static java.lang.String |
trimLeadingSlashes(java.lang.String url) |
static java.lang.String |
trimParameters(java.lang.String url) |
static java.lang.String |
trimTrailingSlashes(java.lang.String url) |
public static java.lang.String trimTrailingSlashes(java.lang.String url)
public static java.lang.String trimLeadingSlashes(java.lang.String url)
public static java.lang.String trimParameters(java.lang.String url)
public static Couple<java.lang.String> splitScheme(java.lang.String url)