SEC-2964: Fix CsrfTokenArgumentResolver Javadoc
This commit is contained in:
parent
92ae45a04d
commit
432123daa2
|
@ -28,12 +28,15 @@ import org.springframework.web.method.support.ModelAndViewContainer;
|
|||
* {@link RestController} will resolve the current {@link CsrfToken}:
|
||||
*
|
||||
* <pre>
|
||||
* @RestController
|
||||
* <code>
|
||||
* @RestController
|
||||
* public class MyController {
|
||||
* @MessageMapping("/im")
|
||||
* @MessageMapping("/im")
|
||||
* public CsrfToken csrf(CsrfToken token) {
|
||||
* return token;
|
||||
* }
|
||||
* }
|
||||
* </code>
|
||||
* </pre>
|
||||
*
|
||||
*
|
||||
|
@ -44,7 +47,7 @@ public final class CsrfTokenArgumentResolver implements HandlerMethodArgumentRes
|
|||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
*
|
||||
* @see
|
||||
* org.springframework.web.method.support.HandlerMethodArgumentResolver#supportsParameter
|
||||
* (org.springframework.core.MethodParameter)
|
||||
|
@ -55,7 +58,7 @@ public final class CsrfTokenArgumentResolver implements HandlerMethodArgumentRes
|
|||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
*
|
||||
*
|
||||
* @see
|
||||
* org.springframework.web.method.support.HandlerMethodArgumentResolver#resolveArgument
|
||||
* (org.springframework.core.MethodParameter,
|
||||
|
|
Loading…
Reference in New Issue