Skip to content

Instantly share code, notes, and snippets.

@dotkebi
Created May 19, 2017 05:02
Show Gist options
  • Save dotkebi/d2718dbd8b27ab175e030349b7a8fbd4 to your computer and use it in GitHub Desktop.
Save dotkebi/d2718dbd8b27ab175e030349b7a8fbd4 to your computer and use it in GitHub Desktop.
ResponseBodyExampleController2
@Controller
public class ResponseBodyExampleController2 {
@GetMapping("/")
public
@ResponseBody
String someMethod() {
return "result";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment