Skip to content

Commit f7c862c

Browse files
committed
remove commented code
1 parent 70076c8 commit f7c862c

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

spring-cloud-function-web/src/main/java/org/springframework/cloud/function/web/mvc/FunctionController.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -87,16 +87,6 @@ public Mono<ResponseEntity<?>> form(WebRequest request) {
8787
return this.processor.post(wrapper, null, false);
8888
}
8989

90-
// @PostMapping(path = "/**", consumes = { MediaType.APPLICATION_FORM_URLENCODED_VALUE,
91-
// MediaType.MULTIPART_FORM_DATA_VALUE })
92-
// public Mono<ResponseEntity<?>> handleFileUpload(@RequestParam("file") MultipartFile file, WebRequest request) {
93-
// FunctionWrapper wrapper = wrapper(request);
94-
//
95-
// Object result = wrapper.function().apply(file);
96-
//
97-
// return Mono.just(ResponseEntity.status(HttpStatus.OK).body(result));
98-
// }
99-
10090
@PostMapping(path = "/**")
10191
@ResponseBody
10292
public Mono<ResponseEntity<?>> post(WebRequest request,

0 commit comments

Comments
 (0)