uCosminexus Application Server, Web Service Development Guide
![[Contents]](FIGURE/CONTENT.GIF)
![[Glossary]](FIGURE/GLOSS.GIF)
![[Index]](FIGURE/INDEX.GIF)
![[Back]](FIGURE/FRONT.GIF)
You must note the following points when using the methods of the UriInfo interface:
- The getAbsolutePath() method, unlike the description in the API documentation of the JAX-RS 1.1 standard specifications, is not a shortcut of UriInfo#getBase().resolve(uriInfo.getPath()) but a shortcut of UriInfo#getBaseUri().resolve(uriInfo.getPath()). No such method as getBase() exists.
- The operation is not guaranteed if you use the following methods:
- getMatchedResources()
- getMatchedURIs()
- getMatchedURIs(boolean decode)
- The return values of the getPath() and getPath(boolean decode) methods include the matrix parameter information, and not the query parameter information.
- MultivaluedMap< String, String> acquired by the getPathParameters() and getPathParameters(boolean decode) methods differs from the description in the API documentation of the JAX-RS 1.1 standard specifications, and you can change the same.
- java.util.List<PathSegment> acquired by the getPathSegments() and getPathSegments(boolean decode) methods differs from the description in the API documentation of the JAX-RS 1.1 standard specifications, and you can change the same.
- MultivaluedMap< String, String> acquired by the getQueryParameters() and getQueryParameters(boolean decode) methods differs from the description in the API documentation of the JAX-RS 1.1 standard specifications, and you can change the same.
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.