@Path(value="resource") public class StandardResource extends Object
ClientResource using injected client.@GET @Path(value="dog") public String get()
@GET @Path(value="cat") public String cat()
@GET @Path(value="elefant") public String elefant()
@GET
@Path(value="car/{id}")
public String car(@PathParam(value="id")
String id)
id - Injected path parameter.Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.