次の例を見てください。
私はリソースを持っています
public class HelloWorldResource extends ServerResource {
@Get
public String represent(String arg) {
return "hello, world (from the cloud!)" + arg;
}
}
それはによってマッピングされます
router.attach("/hi/{message}", HelloWorldResource.class);
/hi/somestuffhere にアクセスすると、represent メソッドの arg パラメータに restlet が入力されるようにルーティングを構成することは可能ですか?