All,

I have the following method in my JAX-RS service implementation:

  @GET
  @Path("/{path:.*}")
  public Response doGet( @PathParam("path") String path, @Context UriInfo info )

If someone issues a GET /foo.xml, in path I get the value "foo".  How do I 
figure out if the original request had a .xml suffix (or .json for that matter 
as it exhibits the same behavior)?

--
Javier Delgadillo
Esri / Implementation Services
(909) 793-2853 x1068

Reply via email to