Skip to content

Instantly share code, notes, and snippets.

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