I have a resource like this (CXF JAX-RS):
*@GET
@Path("/test/{user}/{id}")
public boolean getTest(@MatrixParam("user") User user, @PathParam int id)
{...}*
where User is an interface, like this:
*public interface User {
public String getUserName();
public void setUserName(String userName);
public String getJob();
public void setJob(String job);
}*
*
*so, if I call http://localhost:8080/CXF/service/test/user;name=spider;
job=manager/id=13 it is possible in some way (for example dynamic proxy
class) that user is initialized and contains name and job passed from URL. I
believe to use ParameterHandler but it doesn't work with @MatrixParam (but
work with @PathParam for instance). I can do that in some way?
Thank you very much.