public class RequestUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
normalize(String path)
Normalize a relative URI path that may have relative values ("/./",
"/../", and so on ) it it.
|
static String |
normalize(String path,
boolean replaceBackSlash)
Normalize a relative URI path that may have relative values ("/./",
"/../", and so on ) it it.
|
public static String normalize(String path)
path - Relative path to be normalizednull if the path cannot be
normalizedpublic static String normalize(String path, boolean replaceBackSlash)
path - Relative path to be normalizedreplaceBackSlash - Should '\\' be replaced with '/'null if the path cannot be
normalizedCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.