Skip to content

Commit 0e8ed59

Browse files
committed
Revised backport version 5.0.11
Issue: SPR-17410 Issue: SPR-17433
1 parent a240cfc commit 0e8ed59

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public final void onError(Throwable ex) {
167167
* Invoked after an I/O read error from the underlying server or after a
168168
* cancellation signal from the downstream consumer to allow sub-classes
169169
* to discard any current cached data they might have.
170-
* @since 5.1.2
170+
* @since 5.0.11
171171
*/
172172
protected abstract void discardData();
173173

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ protected void writingFailed(Throwable ex) {
241241
* to discard in-flight data that was in
242242
* the process of being written when the error took place.
243243
* @param data the data to be released
244-
* @since 5.1.2
244+
* @since 5.0.11
245245
*/
246246
protected abstract void discardData(T data);
247247

spring-webflux/src/main/java/org/springframework/web/reactive/config/ResourceHandlerRegistry.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public ResourceHandlerRegistry(ResourceLoader resourceLoader) {
7979
* Configure the {@link ResourceUrlProvider} that can be used by
8080
* {@link org.springframework.web.reactive.resource.ResourceTransformer} instances.
8181
* @param resourceUrlProvider the resource URL provider to use
82-
* @since 5.1.2
82+
* @since 5.0.11
8383
*/
8484
public void setResourceUrlProvider(@Nullable ResourceUrlProvider resourceUrlProvider) {
8585
this.resourceUrlProvider = resourceUrlProvider;
@@ -94,8 +94,8 @@ public void setResourceUrlProvider(@Nullable ResourceUrlProvider resourceUrlProv
9494
* <p>Patterns like {@code "/static/**"} or {@code "/css/{filename:\\w+\\.css}"}
9595
* are allowed. See {@link org.springframework.web.util.pattern.PathPattern}
9696
* for more details on the syntax.
97-
* @return a {@link ResourceHandlerRegistration} to use to further
98-
* configure the registered resource handler
97+
* @return a {@link ResourceHandlerRegistration} to use to further configure
98+
* the registered resource handler
9999
*/
100100
public ResourceHandlerRegistration addResourceHandler(String... patterns) {
101101
ResourceHandlerRegistration registration = new ResourceHandlerRegistration(this.resourceLoader, patterns);

0 commit comments

Comments
 (0)