I\'m trying to parse @Context UriInfo to another thread and do some task. But when i try to run it, it gives the error as
@Context UriInfo
Exception in thread \
Just make the UriInfo parameter final and you will be able to access it from your run() method.
public void thread(@Context final UriInfo url){
I've no idea what you are actually trying to achieve here though. I doubt you actually want to do this.