users@jersey.java.net

RE: [Jersey] Ignore a certain portion of the _at_Path

From: Bruno de Carvalho <bruno_at_factor45.org>
Date: Mon, 2 Nov 2009 13:05:37 -0000

Pardon the double-post, I forgot to switch to the account I registered in the ML :\


Bruno

-----Original Message-----
From: Bruno de Carvalho [mailto:bruno.carvalho_at_wit-software.com]
Sent: segunda-feira, 2 de Novembro de 2009 13:03
To: users_at_jersey.dev.java.net
Subject: [Jersey] Ignore a certain portion of the @Path

Hello,


I was thinking of using Jersey to write an XCAP frontend to a server. The only problem I'm facing here is the the XPath portion of the XCAP URI.

Example:
http://host/xcap-root/resource-lists/users/sip:user@domain.com/index/~~/xpath/expression

Naturally, I can get Jersey to work up until the "index" part if I use no xpath expression (which translates to "give me the whole document"). However, if I add the "/~~/" (separator that indicates that XPath expression follows) I can't get any matches -- which makes sense.

My question regarding this matter is whether there is a way to instruct jersey to ignore the @Path() from a certain point forward. I mean, I'd like to have something like:

@Path("/resource-lists/users/sip:{login}@{domain}/{document}<IGNORE_FROM_HERE>")


Best regards,
  Bruno


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
For additional commands, e-mail: users-help_at_jersey.dev.java.net