|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ops4j.pax.web.service.spi.util.Path
public class Path
Divers utilities related to request paths.
Method Summary | |
---|---|
static java.lang.String |
normalizePattern(java.lang.String pattern)
Normalizes a pattern = prepends the path with slash (/) if the path does not start with a slash. |
static java.lang.String[] |
normalizePatterns(java.lang.String[] urlPatterns)
Normalize an array of patterns. |
static java.lang.String |
normalizeResourcePath(java.lang.String path)
Normalize the path for accesing a resource, meaning that will replace consecutive slashes and will remove a leading slash if present. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String normalizeResourcePath(java.lang.String path)
path
- path to normalize
public static java.lang.String[] normalizePatterns(java.lang.String[] urlPatterns)
urlPatterns
- to mormalize
public static java.lang.String normalizePattern(java.lang.String pattern)
pattern
- to normalize
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |