我的控制器方法如下所示:
public void doLogin(HttpServletRequest request, HttpServletResponse response) throws IOException {
我想这样做
ResponseEntity<String> responseEntity = restTemplate.postForEntity(testPrefix + "/login", map, String.class);
response = responseEntity;
或类似的,基本上进行一次休息调用并返回 HttpReponseEntity 作为响应 n 它的整体