3.16.1. Service Example

@Path ("example")
public class ExampleResource {
  @GET
  @Path ("{key}")
  @Produces ("application/value+xml")
  public KeyValueType getKeyValue (@PathParam ("key") String key) {...}

  @DELETE
  @Path ("{key}")
  public void deleteKeyValue (@PathParam ("key") String key) {...}
}