I was considering that already too, including these 2 additional methods:
public MultivaluedMap<String, String> getQueryParameters();
public MultivaluedMap<String, String> getQueryParameters(boolean decode);
Experts, do you have any objections to removing these from Request?
Thanks,
Marek
On 12/13/2011 01:51 AM, Bill Burke wrote:
> I'd like to suggest to remove the path methods from Request:
>
> public URI getPath();
> public UriBuilder getPathBuilder();
> public String getPath(boolean decode);
> public List<PathSegment> getPathSegments();
> public List<PathSegment> getPathSegments(boolean decode);
>
> These don't make a lot of sense on the client. On the server they are basically duplicates of similar methods on UriInfo.
>
> Bill
>