1
1
/*
2
- * Copyright 2002-2019 the original author or authors.
2
+ * Copyright 2002-2020 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.
@@ -424,7 +424,7 @@ public boolean containsHeader(String name) {
424
424
425
425
/**
426
426
* Return the names of all specified headers as a Set of Strings.
427
- * <p>As of Servlet 3.0, this method is also defined HttpServletResponse.
427
+ * <p>As of Servlet 3.0, this method is also defined in {@link HttpServletResponse} .
428
428
* @return the {@code Set} of header name {@code Strings}, or an empty {@code Set} if none
429
429
*/
430
430
@ Override
@@ -435,7 +435,7 @@ public Collection<String> getHeaderNames() {
435
435
/**
436
436
* Return the primary value for the given header as a String, if any.
437
437
* Will return the first value in case of multiple values.
438
- * <p>As of Servlet 3.0, this method is also defined in HttpServletResponse.
438
+ * <p>As of Servlet 3.0, this method is also defined in {@link HttpServletResponse} .
439
439
* As of Spring 3.1, it returns a stringified value for Servlet 3.0 compatibility.
440
440
* Consider using {@link #getHeaderValue(String)} for raw Object access.
441
441
* @param name the name of the header
@@ -450,7 +450,7 @@ public String getHeader(String name) {
450
450
451
451
/**
452
452
* Return all values for the given header as a List of Strings.
453
- * <p>As of Servlet 3.0, this method is also defined in HttpServletResponse.
453
+ * <p>As of Servlet 3.0, this method is also defined in {@link HttpServletResponse} .
454
454
* As of Spring 3.1, it returns a List of stringified values for Servlet 3.0 compatibility.
455
455
* Consider using {@link #getHeaderValues(String)} for raw Object access.
456
456
* @param name the name of the header
0 commit comments