Jose Antonio Illescas del Olmo wrote:
>
> with current-empty-value annotation
>
> public void get(@*URIParam("")* Properties params)
>
> or with new non-value annotations
>
> public void get(@*AllURIParam**s* Map<String, String> params)
>
You can do this with the UriInfo class [1]:
public void get(@HttpContext UriInfo uriInfo) {
MultivaluedMap<String, String> params =
uriInfo.getTemplateParameters();
}
which can also be used to obtain all the query parameters. You can use
the HttpHeader class for obtaining all the HTTP request headers.
Does that work for you?
Paul.
[1]
https://jsr311.dev.java.net/nonav/releases/0.5/javax/ws/rs/core/UriInfo.html
--
| ? + ? = To question
----------------\
Paul Sandoz
x38109
+33-4-76188109