MCPcopy Index your code
hub / github.com/OpenFeign/feign / wildCardMap

Method wildCardMap

form/src/test/java/feign/form/Server.java:127–132  ·  view source on GitHub ↗
(
      @RequestParam("key1") String key1, @RequestParam("key2") String key2)

Source from the content-addressed store, hash-verified

125 }
126
127 @PostMapping(path = "/wild-card-map", consumes = APPLICATION_FORM_URLENCODED_VALUE)
128 public ResponseEntity<Integer> wildCardMap(
129 @RequestParam("key1") String key1, @RequestParam("key2") String key2) {
130 var status = key1.equals(key2) ? OK : I_AM_A_TEAPOT;
131 return ResponseEntity.status(status).body(null);
132 }
133
134 @PostMapping(path = "/upload/with_dto", consumes = MULTIPART_FORM_DATA_VALUE)
135 public ResponseEntity<Long> uploadWithDto(Dto dto, @RequestPart("file") MultipartFile file)

Callers

nothing calls this directly

Calls 3

bodyMethod · 0.65
equalsMethod · 0.45
statusMethod · 0.45

Tested by

no test coverage detected