File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
spring-web/src/main/java/org/springframework/web/bind/annotation Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2016 the original author or authors.
2
+ * Copyright 2002-2021 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
25
25
import org .springframework .core .annotation .AliasFor ;
26
26
27
27
/**
28
- * Annotation which indicates that a method parameter should be bound to an HTTP cookie.
28
+ * Annotation to indicate that a method parameter is bound to an HTTP cookie.
29
29
*
30
30
* <p>The method parameter may be declared as type {@link javax.servlet.http.Cookie}
31
31
* or as cookie value type (String, int, etc.).
32
32
*
33
+ * <p>Note that with spring-webmvc 5.3.x and earlier, the cookie value is URL
34
+ * decoded. This will be changed in 6.0 but in the mean, applications can also
35
+ * declare {@link javax.servlet.http.Cookie} to access the raw value.
36
+ *
33
37
* @author Juergen Hoeller
34
38
* @author Sam Brannen
35
39
* @since 3.0
You can’t perform that action at this time.
0 commit comments