重複の可能性:
@QueryParam 正規表現
同じクエリ パラメータの複数のコピーがある受信リクエストを処理できます。
// http://localhost:8080/myService?data=1&data=2
@GET
public String get(@QueryParam("data") List<String> data)
同様の接頭辞を使用してデータをグループ化する機能が必要です。例えば
// http://localhost:8080/myService?dataOne=1&dataTwo=2
@GET
public String get(@QueryParam("data*") List<String> data)
ジャージーでこのようなことをする方法はありますか? 現在、私が確認できる唯一の方法は、UriInfo を使用してクエリ パラメータをプログラムで解析することです。