SEC-2964: Fix CsrfTokenArgumentResolver Javadoc

This commit is contained in:
Rob Winch 2015-07-22 11:32:36 -05:00
parent 92ae45a04d
commit 432123daa2
1 changed files with 7 additions and 4 deletions

View File

@ -28,12 +28,15 @@ import org.springframework.web.method.support.ModelAndViewContainer;
* {@link RestController} will resolve the current {@link CsrfToken}:
*
* <pre>
* @RestController
* <code>
* &#064;RestController
* public class MyController {
* @MessageMapping("/im")
* &#064;MessageMapping("/im")
* public CsrfToken csrf(CsrfToken token) {
* return token;
* }
* }
* </code>
* </pre>
*
*