File tree 3 files changed +6
-6
lines changed
spring-web/src/main/java/org/springframework/http/server/reactive
spring-webflux/src/main/java/org/springframework/web/reactive/config 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ public final void onError(Throwable ex) {
134
134
* Invoked after an I/O read error from the underlying server or after a
135
135
* cancellation signal from the downstream consumer to allow sub-classes
136
136
* to discard any current cached data they might have.
137
- * @since 5.1.2
137
+ * @since 5.0.11
138
138
*/
139
139
protected abstract void discardData ();
140
140
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2017 the original author or authors.
2
+ * Copyright 2002-2018 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.
@@ -201,7 +201,7 @@ protected void writingFailed(Throwable ex) {
201
201
* to discard in-flight data that was in
202
202
* the process of being written when the error took place.
203
203
* @param data the data to be released
204
- * @since 5.1.2
204
+ * @since 5.0.11
205
205
*/
206
206
protected abstract void discardData (T data );
207
207
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ public ResourceHandlerRegistry(ResourceLoader resourceLoader) {
79
79
* Configure the {@link ResourceUrlProvider} that can be used by
80
80
* {@link org.springframework.web.reactive.resource.ResourceTransformer} instances.
81
81
* @param resourceUrlProvider the resource URL provider to use
82
- * @since 5.1.2
82
+ * @since 5.0.11
83
83
*/
84
84
public void setResourceUrlProvider (@ Nullable ResourceUrlProvider resourceUrlProvider ) {
85
85
this .resourceUrlProvider = resourceUrlProvider ;
@@ -94,8 +94,8 @@ public void setResourceUrlProvider(@Nullable ResourceUrlProvider resourceUrlProv
94
94
* <p>Patterns like {@code "/static/**"} or {@code "/css/{filename:\\w+\\.css}"}
95
95
* are allowed. See {@link org.springframework.web.util.pattern.PathPattern}
96
96
* 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
99
99
*/
100
100
public ResourceHandlerRegistration addResourceHandler (String ... patterns ) {
101
101
ResourceHandlerRegistration registration = new ResourceHandlerRegistration (this .resourceLoader , patterns );
You can’t perform that action at this time.
0 commit comments