Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save nazartm/9310637 to your computer and use it in GitHub Desktop.
Save nazartm/9310637 to your computer and use it in GitHub Desktop.
@Path("/blog")
@Consumes({MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON, "application/vnd.blog.v2+xml", "application/vnd.blog.v2+json"})
@Produces({MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON, "application/vnd.blog.v2+xml", "application/vnd.blog.v2+json"})
public interface BlogRestfulService {
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment