I am using path param as a part of my api : I am sending form a spring boot application to a another servlet with has jersey as a REST framework. when I am sending i am doing :
final String encrypt = aes.encrypt(customerId);
restTemplate.exchange(basicUrl+"/customer/{customer}"+ "?q=3",HttpMethod.GET, stringHttpEntity, ListingDto.class, encryptedcustomer);
and in the other side there is path param :
@GET
@Path("/customer/{customerId}")
@Consumes(MediaType.APPLICATION_JSON)
public Response getLocationsByAccount(@QueryParam("q") String filter)
the problem is that the string which describe encryptedcustomer has inside / aign , so the jersey mapping dont know how to handle it , any thoughts how to do it right ?