par Florent
@GET @Path("use1month") public Response use120sec(){ Date expires = Date.from(Instant.now().plus(30, ChronoUnit.DAYS)); return Response.ok("ok").expires(expires).build(); }
By Florent Fremont