Hello,
This is probably a really stupid/simple question with such an obvious answer that it seems not worth stating in restlet documentation. Where and how (if at all) can Restlet pass parameters to methods in ServerResource classes?
Given this class:
public class FooServerResource extends ServerResource {
@Get
public String foo(String f) {
return f;
}
}
and a Router attachment router.attach("/foo", FooServerResource.class);
I know that if I use a Restlet client connector I could create a proxy for this class and invoke methods directly, but what if I am making calls to this ServerResource from some other non-java language, e.g. PHP?