Skip to content

Instantly share code, notes, and snippets.

@benfogel
Created April 30, 2018 03:56
Show Gist options
  • Save benfogel/5a0a818f19aef731bbb9494e9f1341e5 to your computer and use it in GitHub Desktop.
Save benfogel/5a0a818f19aef731bbb9494e9f1341e5 to your computer and use it in GitHub Desktop.
@RestController
@RequestMapping("/scope")
public class TestController {
@Autowired
private IncorrectScopeBean incorrectScopeBean;
@GetMapping("/incorrect")
public String callIncorrectScopeField(@RequestParam String requestId) throws InterruptedException {
return incorrectScopeBean.run(requestId);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment