[Jersey] disable decode the URL path

use annotation “@Encoded”

Ex:

@Path("{first}/get")
public Response getYouWant(@Context HttpHeaders httpHeaders, @PathParam("first") String first, @QueryParam("second")  @Encoded String second);
This entry was posted in Java. Bookmark the permalink.