Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add missing @ResponseBody to controller method

  • Loading branch information...
commit bd086b0027a0e3e4c34ef4da5a75de989212c921 1 parent 4816c0b
@rstoyanchev rstoyanchev authored
View
2  SPR-8711/src/main/java/org/springframework/web/issues/PutController.java
@@ -29,7 +29,7 @@
public class PutController {
@RequestMapping(value = "update", method = PUT)
- public void update(@RequestBody TestObject object) {
+ public @ResponseBody void update(@RequestBody TestObject object) {
System.out.println(object);
}
View
2  SPR-8711/src/test/java/org/springframework/web/issues/ClientTests.java
@@ -35,7 +35,7 @@
*/
public class ClientTests {
- private static final String baseUrl = "http://localhost:8080/SPR-8711-1.0-SNAPSHOT/test/";
+ private static final String baseUrl = "http://localhost:8080/SPR-8711/test/";
private RestTemplate template;
Please sign in to comment.
Something went wrong with that request. Please try again.