You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Path("/")
public class ShoppingRestRestource {
@Path("/customers/{id}")
public Customer getCustomer(@PathParam("id") int id) {
CustomerRestRestource custRestResource = ...; // Find a customer object
return custRestResource;
}
}
public class CustomerRestRestource {
@GET
public String get() {...}
@Path("/address")
public String getAddress() {...}
}
The text was updated successfully, but these errors were encountered:
Support for
JAX-RS Resource Locators and Sub Resources
will be appreciated.
See docs:
https://docs.jboss.org/resteasy/docs/1.0.1.GA/userguide/html/JAX-RS_Resource_Locators_and_Sub_Resources.html
https://dennis-xlc.gitbooks.io/restful-java-with-jax-rs-2-0-2rd-edition/content/en/part1/chapter4/subresource_locators.html
The text was updated successfully, but these errors were encountered: