Skip to content

Commit 4aafae1

Browse files
committed
Reflect well-known HttpHeaders intent in Javadoc
Closes gh-33886
1 parent afef439 commit 4aafae1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spring-web/src/main/java/org/springframework/http/HttpHeaders.java

+4
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@
8383
* over the old instance's {@code entrySet()} and using
8484
* {@link #addAll(String, List)} rather than {@link #put(String, List)}.
8585
*
86+
* <p>This class is meant to reference "well-known" headers supported by Spring
87+
* Framework. If your application or library relies on other headers defined in RFCs,
88+
* please use methods that accept the header name as a parameter.
89+
*
8690
* @author Arjen Poutsma
8791
* @author Sebastien Deleuze
8892
* @author Brian Clozel

0 commit comments

Comments
 (0)