Polishing
Javadoc links to `HttpHeaders#remove` now use the new String-based signature. See gh-33913
This commit is contained in:
@@ -489,7 +489,7 @@ public class RequestEntity<T> extends HttpEntity<T> {
|
||||
* Manipulate this entity's headers with the given consumer. The
|
||||
* headers provided to the consumer are "live", so that the consumer can be used to
|
||||
* {@linkplain HttpHeaders#set(String, String) overwrite} existing header values,
|
||||
* {@linkplain HttpHeaders#remove(Object) remove} values, or use any of the other
|
||||
* {@linkplain HttpHeaders#remove(String) remove} values, or use any of the other
|
||||
* {@link HttpHeaders} methods.
|
||||
* @param headersConsumer a function that consumes the {@code HttpHeaders}
|
||||
* @return this builder
|
||||
|
||||
@@ -423,7 +423,7 @@ public class ResponseEntity<T> extends HttpEntity<T> {
|
||||
* Manipulate this entity's headers with the given consumer. The
|
||||
* headers provided to the consumer are "live", so that the consumer can be used to
|
||||
* {@linkplain HttpHeaders#set(String, String) overwrite} existing header values,
|
||||
* {@linkplain HttpHeaders#remove(Object) remove} values, or use any of the other
|
||||
* {@linkplain HttpHeaders#remove(String) remove} values, or use any of the other
|
||||
* {@link HttpHeaders} methods.
|
||||
* @param headersConsumer a function that consumes the {@code HttpHeaders}
|
||||
* @return this builder
|
||||
|
||||
@@ -164,7 +164,7 @@ public interface ServerHttpRequest extends HttpRequest, ReactiveHttpInputMessage
|
||||
* Manipulate request headers. The provided {@code HttpHeaders} contains
|
||||
* current request headers, so that the {@code Consumer} can
|
||||
* {@linkplain HttpHeaders#set(String, String) overwrite} or
|
||||
* {@linkplain HttpHeaders#remove(Object) remove} existing values, or
|
||||
* {@linkplain HttpHeaders#remove(String) remove} existing values, or
|
||||
* use any other {@link HttpHeaders} methods.
|
||||
* @see #header(String, String...)
|
||||
*/
|
||||
|
||||
@@ -239,7 +239,7 @@ public interface ErrorResponse {
|
||||
/**
|
||||
* Manipulate this response's headers with the given consumer. This is
|
||||
* useful to {@linkplain HttpHeaders#set(String, String) overwrite} or
|
||||
* {@linkplain HttpHeaders#remove(Object) remove} existing values, or
|
||||
* {@linkplain HttpHeaders#remove(String) remove} existing values, or
|
||||
* use any other {@link HttpHeaders} methods.
|
||||
* @param headersConsumer a function that consumes the {@code HttpHeaders}
|
||||
* @return the same builder instance
|
||||
|
||||
Reference in New Issue
Block a user