remove function get useless
This commit is contained in:
parent
dce878dc04
commit
4dc921e5ba
@ -49,19 +49,5 @@ public class MailRessource {
|
||||
}
|
||||
return Response.ok().build();
|
||||
}
|
||||
|
||||
@GET
|
||||
@Path("set-redis")
|
||||
public Response setRedis(){
|
||||
redisClient.set(Arrays.asList("toto","sss"));
|
||||
return Response.ok().build();
|
||||
}
|
||||
|
||||
@GET
|
||||
@Path("get-redis/{id}")
|
||||
public Response getRedis(@PathParam("id") String id){
|
||||
return Response.ok().entity(redisClient.get(id).toString()).build();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user