Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class MyDTO {
- @NotEmpty
- private String isKiosk;
- ...
- }
- http://localhost:1234/mvc/controllerUrl?isKiosk=false
- @RequestMapping(method = RequestMethod.GET, produces = APPLICATION_JSON)
- @ResponseBody
- public ResponseEntity<List<?>> getRequestSupportKludge(@Valid final MyDTO myDTO, BindingResult bindingResult) {
- ...
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement