Skip to content

Instantly share code, notes, and snippets.

@mwiede
Created November 7, 2017 09:16
Show Gist options
  • Save mwiede/b6b0e90f70b6ea0d744ddb7f46a64b90 to your computer and use it in GitHub Desktop.
Save mwiede/b6b0e90f70b6ea0d744ddb7f46a64b90 to your computer and use it in GitHub Desktop.
@Path("/example")
@Produces(MediaType.TEXT_PLAIN)
public class ExampleResource {
@GET
@Timed
@Metered
@ExceptionMetered
public String show() {
return "yay";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment