Hi,
  I have root resource class which match request's address extension. For
example, htttp://localhost:8080/image/g1.png. The root resource class is
successfully matched and then try to match the right method. However, in
CXF, the path used to match to the methods is the extension "png". In
Jboss's RESTEasy, it is the empty string "". I think the empty string is
more correct.


@Path("{resource:.+\\.(js|css|gif|png)}")
public class PassThroughResource
{

    @GET
    @Path("")
    public InputStream get(@Context UriInfo uri) {
    ...
  }
}

Regards,
Rice

Reply via email to