0

だから私はこのようなコントローラコードを持っているとしましょう -

@RequestMapping(value = "/graph/{graphName}/index/{indexName}/")
@ResponseBody
public ResponseEntity<String> getResponse(
        @PathVariable String graphName,
        @PathVariable String indexName,
        @RequestParam(value = "searchTerms") List<String> searchTerms) {

    System.out.println("IN CONTROLLER");
    System.out.println(searchTerms);

私がヒットしているURLは次のようになります

graph/graph1/index/index1/?searchTerms=123+456

検索用語を見ると [123 456] が表示されます - [123+456] を取得するにはどうすればよいですか?

4

0 に答える 0