This is an example of a method:
updatePatientAddressByID(String ID, String address)
Any Help
This is an example of a method:
updatePatientAddressByID(String ID, String address)
Any Help
You have to design your URL so that the Id is a path segment :
router.attach("/patients/{id}", PatientResource.class);
Then in your Restlet implementation, you can get this variable :
@Post
public void store(String address) {
Long id = (Long) getRequest().getAttributes().get("id");
... do something with address ...
}