@PostMapping(path = "/modifyRequest")
    public Map<String, Object> modifyRequest(@RequestBody final UserDTO userDTO,
                                             @CookieValue(value = "cookie", defaultValue = "") final String cookie,
                                             @RequestHeader(value = "requestHeader", defaultValue = "") final String requestHeader,
                                             @RequestParam(value = "requestParameter", defaultValue = "") final String requestParameter) {
        Map<String, Object> result = new HashMap<>();
        result.put("body", userDTO);
        result.put("cookie", cookie);
        result.put("header", requestHeader);
        result.put("parameter", requestParameter);
        return result;
    }
modify request.

@param userDTO          request body
@param cookie           cookie
@param requestHeader    header
@param requestParameter parameter
@return result
shenyu-examples/shenyu-examples-http/src/main/java/org/apache/shenyu/examples/http/controller/HttpTestController.java