「@」記号パラメーターを受け入れる GET レスト メソッドを作成するにはどうすればよいですか? 現在、@ 記号のため、これは好ましくありません。/resource/user/my@email.com/password を渡します
@Path("/user/{Email}/{Password}")
@GET
@Produces({MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML})
public JResponse<DtoUser> ValidateUser(@PathParam("Email") String email,@PathParam("Password") String password) {
logger.log(Level.INFO, "Validating user {0}", email);
IUserRepository repo = new UserRepository();
return JResponse.ok(repo.ValidateUser(email, password)).build();
}