File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
spring-webflux/src/main/java/org/springframework/web/reactive/config
spring-web/src/main/java/org/springframework/http/server/reactive Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ public final void onError(Throwable ex) {
167
167
* Invoked after an I/O read error from the underlying server or after a
168
168
* cancellation signal from the downstream consumer to allow sub-classes
169
169
* to discard any current cached data they might have.
170
- * @since 5.1.2
170
+ * @since 5.0.11
171
171
*/
172
172
protected abstract void discardData ();
173
173
Original file line number Diff line number Diff line change @@ -241,7 +241,7 @@ protected void writingFailed(Throwable ex) {
241
241
* to discard in-flight data that was in
242
242
* the process of being written when the error took place.
243
243
* @param data the data to be released
244
- * @since 5.1.2
244
+ * @since 5.0.11
245
245
*/
246
246
protected abstract void discardData (T data );
247
247
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