users@jsr311.java.net

Re: Dealing with Matrix parameters

From: Sergey Beryozkin <sergey.beryozkin_at_progress.com>
Date: Mon, 24 Nov 2008 15:28:51 -0000

UriInfo has methods like

/**

* Get the path of the current request relative to the base URI as

* a string.

*/

UriInfo.getPath()

/**

* Get the path of the current request relative to the base URI as a

* list of {_at_link PathSegment}. This method is useful when the

* path needs to be parsed, particularly when matrix parameters may be

* present in the path.

*/


UriInfo.getPathSegments()

In the presense of matrix parameters, what should UriInfo.getPath() return ? Will the return value present the path value being
'free' of matrix parameters ?

Thanks, Sergey