Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/castello/spring_basic
/ test
Method
test
ch4/SimpleRestController.java:14–22 ·
view source on GitHub ↗
(@RequestBody Person p)
Source
from the content-addressed store, hash-verified
12
}
13
14
@PostMapping(
"/send"
)
15
@ResponseBody
16
public
Person test(@RequestBody Person p) {
17
System.out.println(
"p = "
+ p);
18
p.setName(
"ABC"
);
19
p.setAge(p.getAge() + 10);
20
21
return
p;
22
}
23
}
Callers
nothing calls this directly
Calls
1
setName
Method · 0.45
Tested by
no test coverage detected