Skip to content

Commit f24f9a4

Browse files
committed
Polishing
Javadoc links to `HttpHeaders#remove` now use the new String-based signature. See gh-33913
1 parent cf49a33 commit f24f9a4

File tree

14 files changed

+15
-15
lines changed

14 files changed

+15
-15
lines changed

spring-test/src/main/java/org/springframework/test/web/reactive/server/WebTestClient.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ interface Builder {
403403
* Manipulate the default headers with the given consumer. The
404404
* headers provided to the consumer are "live", so that the consumer can be used to
405405
* {@linkplain HttpHeaders#set(String, String) overwrite} existing header values,
406-
* {@linkplain HttpHeaders#remove(Object) remove} values, or use any of the other
406+
* {@linkplain HttpHeaders#remove(String) remove} values, or use any of the other
407407
* {@link HttpHeaders} methods.
408408
* @param headersConsumer a function that consumes the {@code HttpHeaders}
409409
* @return this builder
@@ -646,7 +646,7 @@ interface RequestHeadersSpec<S extends RequestHeadersSpec<S>> {
646646
* Manipulate the request's headers with the given consumer. The
647647
* headers provided to the consumer are "live", so that the consumer can be used to
648648
* {@linkplain HttpHeaders#set(String, String) overwrite} existing header values,
649-
* {@linkplain HttpHeaders#remove(Object) remove} values, or use any of the other
649+
* {@linkplain HttpHeaders#remove(String) remove} values, or use any of the other
650650
* {@link HttpHeaders} methods.
651651
* @param headersConsumer a function that consumes the {@code HttpHeaders}
652652
* @return this builder

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ public interface HeadersBuilder<B extends HeadersBuilder<B>> {
489489
* Manipulate this entity's headers with the given consumer. The
490490
* headers provided to the consumer are "live", so that the consumer can be used to
491491
* {@linkplain HttpHeaders#set(String, String) overwrite} existing header values,
492-
* {@linkplain HttpHeaders#remove(Object) remove} values, or use any of the other
492+
* {@linkplain HttpHeaders#remove(String) remove} values, or use any of the other
493493
* {@link HttpHeaders} methods.
494494
* @param headersConsumer a function that consumes the {@code HttpHeaders}
495495
* @return this builder

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ public interface HeadersBuilder<B extends HeadersBuilder<B>> {
423423
* Manipulate this entity's headers with the given consumer. The
424424
* headers provided to the consumer are "live", so that the consumer can be used to
425425
* {@linkplain HttpHeaders#set(String, String) overwrite} existing header values,
426-
* {@linkplain HttpHeaders#remove(Object) remove} values, or use any of the other
426+
* {@linkplain HttpHeaders#remove(String) remove} values, or use any of the other
427427
* {@link HttpHeaders} methods.
428428
* @param headersConsumer a function that consumes the {@code HttpHeaders}
429429
* @return this builder

spring-web/src/main/java/org/springframework/http/server/reactive/ServerHttpRequest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ interface Builder {
164164
* Manipulate request headers. The provided {@code HttpHeaders} contains
165165
* current request headers, so that the {@code Consumer} can
166166
* {@linkplain HttpHeaders#set(String, String) overwrite} or
167-
* {@linkplain HttpHeaders#remove(Object) remove} existing values, or
167+
* {@linkplain HttpHeaders#remove(String) remove} existing values, or
168168
* use any other {@link HttpHeaders} methods.
169169
* @see #header(String, String...)
170170
*/

spring-web/src/main/java/org/springframework/web/ErrorResponse.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ interface Builder {
239239
/**
240240
* Manipulate this response's headers with the given consumer. This is
241241
* useful to {@linkplain HttpHeaders#set(String, String) overwrite} or
242-
* {@linkplain HttpHeaders#remove(Object) remove} existing values, or
242+
* {@linkplain HttpHeaders#remove(String) remove} existing values, or
243243
* use any other {@link HttpHeaders} methods.
244244
* @param headersConsumer a function that consumes the {@code HttpHeaders}
245245
* @return the same builder instance

spring-webflux/src/main/java/org/springframework/web/reactive/function/client/ClientRequest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ interface Builder {
190190
* Manipulate this request's headers with the given consumer. The
191191
* headers provided to the consumer are "live", so that the consumer can be used to
192192
* {@linkplain HttpHeaders#set(String, String) overwrite} existing header values,
193-
* {@linkplain HttpHeaders#remove(Object) remove} values, or use any of the other
193+
* {@linkplain HttpHeaders#remove(String) remove} values, or use any of the other
194194
* {@link HttpHeaders} methods.
195195
* @param headersConsumer a function that consumes the {@code HttpHeaders}
196196
* @return this builder

spring-webflux/src/main/java/org/springframework/web/reactive/function/client/ClientResponse.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ interface Builder {
343343
* Manipulate this response's headers with the given consumer.
344344
* <p>The headers provided to the consumer are "live", so that the consumer
345345
* can be used to {@linkplain HttpHeaders#set(String, String) overwrite}
346-
* existing header values, {@linkplain HttpHeaders#remove(Object) remove}
346+
* existing header values, {@linkplain HttpHeaders#remove(String) remove}
347347
* values, or use any of the other {@link HttpHeaders} methods.
348348
* @param headersConsumer a function that consumes the {@code HttpHeaders}
349349
* @return this builder

spring-webflux/src/main/java/org/springframework/web/reactive/function/server/EntityResponse.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ interface Builder<T> {
153153
* Manipulate this entity's headers with the given consumer. The
154154
* headers provided to the consumer are "live", so that the consumer can be used to
155155
* {@linkplain HttpHeaders#set(String, String) overwrite} existing header values,
156-
* {@linkplain HttpHeaders#remove(Object) remove} values, or use any of the other
156+
* {@linkplain HttpHeaders#remove(String) remove} values, or use any of the other
157157
* {@link HttpHeaders} methods.
158158
* @param headersConsumer a function that consumes the {@code HttpHeaders}
159159
* @return this builder

spring-webflux/src/main/java/org/springframework/web/reactive/function/server/ServerRequest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ interface Builder {
572572
* Manipulate this request's headers with the given consumer.
573573
* <p>The headers provided to the consumer are "live", so that the consumer can be used to
574574
* {@linkplain HttpHeaders#set(String, String) overwrite} existing header values,
575-
* {@linkplain HttpHeaders#remove(Object) remove} values, or use any of the other
575+
* {@linkplain HttpHeaders#remove(String) remove} values, or use any of the other
576576
* {@link HttpHeaders} methods.
577577
* @param headersConsumer a function that consumes the {@code HttpHeaders}
578578
* @return this builder

spring-webflux/src/main/java/org/springframework/web/reactive/function/server/ServerResponse.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ interface HeadersBuilder<B extends HeadersBuilder<B>> {
241241
* Manipulate this response's headers with the given consumer. The
242242
* headers provided to the consumer are "live", so that the consumer can be used to
243243
* {@linkplain HttpHeaders#set(String, String) overwrite} existing header values,
244-
* {@linkplain HttpHeaders#remove(Object) remove} values, or use any of the other
244+
* {@linkplain HttpHeaders#remove(String) remove} values, or use any of the other
245245
* {@link HttpHeaders} methods.
246246
* @param headersConsumer a function that consumes the {@code HttpHeaders}
247247
* @return this builder

spring-webmvc/src/main/java/org/springframework/web/servlet/function/EntityResponse.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ interface Builder<T> {
9090
* Manipulate this response's headers with the given consumer. The
9191
* headers provided to the consumer are "live", so that the consumer can be used to
9292
* {@linkplain HttpHeaders#set(String, String) overwrite} existing header values,
93-
* {@linkplain HttpHeaders#remove(Object) remove} values, or use any of the other
93+
* {@linkplain HttpHeaders#remove(String) remove} values, or use any of the other
9494
* {@link HttpHeaders} methods.
9595
* @param headersConsumer a function that consumes the {@code HttpHeaders}
9696
* @return this builder

spring-webmvc/src/main/java/org/springframework/web/servlet/function/RenderingResponse.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ interface Builder {
123123
* Manipulate this response's headers with the given consumer. The
124124
* headers provided to the consumer are "live", so that the consumer can be used to
125125
* {@linkplain HttpHeaders#set(String, String) overwrite} existing header values,
126-
* {@linkplain HttpHeaders#remove(Object) remove} values, or use any of the other
126+
* {@linkplain HttpHeaders#remove(String) remove} values, or use any of the other
127127
* {@link HttpHeaders} methods.
128128
* @param headersConsumer a function that consumes the {@code HttpHeaders}
129129
* @return this builder

spring-webmvc/src/main/java/org/springframework/web/servlet/function/ServerRequest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ interface Builder {
510510
* Manipulate this request's headers with the given consumer.
511511
* <p>The headers provided to the consumer are "live", so that the consumer can be used to
512512
* {@linkplain HttpHeaders#set(String, String) overwrite} existing header values,
513-
* {@linkplain HttpHeaders#remove(Object) remove} values, or use any of the other
513+
* {@linkplain HttpHeaders#remove(String) remove} values, or use any of the other
514514
* {@link HttpHeaders} methods.
515515
* @param headersConsumer a function that consumes the {@code HttpHeaders}
516516
* @return this builder

spring-webmvc/src/main/java/org/springframework/web/servlet/function/ServerResponse.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ interface HeadersBuilder<B extends HeadersBuilder<B>> {
340340
* Manipulate this response's headers with the given consumer. The
341341
* headers provided to the consumer are "live", so that the consumer can be used to
342342
* {@linkplain HttpHeaders#set(String, String) overwrite} existing header values,
343-
* {@linkplain HttpHeaders#remove(Object) remove} values, or use any of the other
343+
* {@linkplain HttpHeaders#remove(String) remove} values, or use any of the other
344344
* {@link HttpHeaders} methods.
345345
* @param headersConsumer a function that consumes the {@code HttpHeaders}
346346
* @return this builder

0 commit comments

Comments
 (0)