Inside a Jersey REST method I would like to forward to an another website. How can I achieve that?
@Path(\"/\") public c
public Response foo() { URI uri = UriBuilder.fromUri( ).build(); return Response.seeOther( uri ).build(); }
I used above code in my application and it works.