|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExtendedUriInfo
Extentions to UriInfo
.
Method Summary | |
---|---|
java.util.List<java.util.regex.MatchResult> |
getMatchedResults()
Get a read-only list of MatchResult for matched resources. |
java.util.List<UriTemplate> |
getMatchedTemplates()
Get a read-only list of UriTemplate for matched resources. |
java.util.List<javax.ws.rs.core.PathSegment> |
getPathSegments(java.lang.String name)
Get a path segmenst that contains a template variable. |
java.util.List<javax.ws.rs.core.PathSegment> |
getPathSegments(java.lang.String name,
boolean decode)
Get a path segments that contains a template variable. |
Methods inherited from interface javax.ws.rs.core.UriInfo |
---|
getAbsolutePath, getAbsolutePathBuilder, getBaseUri, getBaseUriBuilder, getMatchedResources, getMatchedURIs, getMatchedURIs, getPath, getPath, getPathParameters, getPathParameters, getPathSegments, getPathSegments, getQueryParameters, getQueryParameters, getRequestUri, getRequestUriBuilder |
Method Detail |
---|
java.util.List<java.util.regex.MatchResult> getMatchedResults()
MatchResult
for matched resources.
Entries are ordered in reverse request URI matching order, with the
root resource match result last.
java.util.List<UriTemplate> getMatchedTemplates()
UriTemplate
for matched resources.
Each entry is a URI template that is the value of the
Path
that is a partial path that matched a resource
class, a sub-resource method or a sub-resource locator.
Entries are ordered in reverse request URI matching order, with the
root resource URI template last.
java.util.List<javax.ws.rs.core.PathSegment> getPathSegments(java.lang.String name)
getPathSegment(true)
.
name
- the template variable name
java.util.List<javax.ws.rs.core.PathSegment> getPathSegments(java.lang.String name, boolean decode)
name
- the template variable namedecode
- controls whether sequences of escaped octets are decoded
(true) or not (false).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |