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