|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.fusesource.fmc.restjmx.util.UriInfoHelper
public final class UriInfoHelper
| Method Summary | |
|---|---|
static java.lang.String |
getUriPath(javax.ws.rs.core.UriInfo info,
java.lang.String endingSegmentPath)
Equivalent to calling getUriPath(info, endingSegmentPath, true). |
static java.lang.String |
getUriPath(javax.ws.rs.core.UriInfo info,
java.lang.String endingSegmentPath,
boolean decode)
Assuming the endingSegmentPath is unique within the given URI, compose a URI up to and including the endingSegmentPath. |
| 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 getUriPath(javax.ws.rs.core.UriInfo info,
java.lang.String endingSegmentPath)
getUriPath(UriInfo, String, boolean)
public static java.lang.String getUriPath(javax.ws.rs.core.UriInfo info,
java.lang.String endingSegmentPath,
boolean decode)
For example getUriPath(UriInfo info, String endingSegmentPath) where info.getPath() = "x/y/z" and endingSegmentPath = "y", would yield "x/y".
info - The source URI.endingSegmentPath - The path used as the test for the last segment.
to be included composed URIdecode - Controls whether sequences of escaped octets in path segments and matrix parameter
values are decoded (true) or not (false).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||