Browse Source

Merge branch '6.0.x'

pull/30838/head
Sam Brannen 3 years ago
parent
commit
d720d6be6b
  1. 2
      spring-web/src/main/java/org/springframework/http/client/MultipartBodyBuilder.java
  2. 2
      spring-web/src/main/java/org/springframework/web/filter/ShallowEtagHeaderFilter.java
  3. 4
      spring-web/src/main/java/org/springframework/web/util/UriUtils.java

2
spring-web/src/main/java/org/springframework/http/client/MultipartBodyBuilder.java

@ -76,7 +76,7 @@ import org.springframework.util.MultiValueMap; @@ -76,7 +76,7 @@ import org.springframework.util.MultiValueMap;
*
* Mono<Void> result = webClient.post()
* .uri("...")
* .body(multipartBody)
* .bodyValue(multipartBody)
* .retrieve()
* .bodyToMono(Void.class)
* </pre>

2
spring-web/src/main/java/org/springframework/web/filter/ShallowEtagHeaderFilter.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2021 the original author or authors.
* Copyright 2002-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.

4
spring-web/src/main/java/org/springframework/web/util/UriUtils.java

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
/*
* Copyright 2002-2020 the original author or authors.
* Copyright 2002-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -307,7 +307,7 @@ public abstract class UriUtils { @@ -307,7 +307,7 @@ public abstract class UriUtils {
* meaning, anywhere within a URI, as defined in
* <a href="https://tools.ietf.org/html/rfc3986">RFC 3986</a>.
* This is useful to ensure that the given String will be preserved as-is
* and will not have any o impact on the structure or meaning of the URI.
* and will not have any impact on the structure or meaning of the URI.
* @param source the String to be encoded
* @param charset the character encoding to encode to
* @return the encoded String

Loading…
Cancel
Save