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 normalizedpublic static String normalize(String path, boolean replaceBackSlash)
path
- Relative path to be normalizedreplaceBackSlash
- Should '\\' be replaced with '/'Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.