Skip to content

Instantly share code, notes, and snippets.

Created February 20, 2015 09:24
What would you like to do?
public class RESTfulResource {
@CachControlConfig(maxAge = 20)
CacheControl cc;
public Response find() {
return Response.ok(UUID.randomUUID().toString()).cacheControl(cc).build();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment