You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-web/src/main/java/org/springframework/http/server/reactive/AbstractListenerWriteFlushProcessor.java
+6-5
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2002-2019 the original author or authors.
2
+
* Copyright 2002-2021 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.
@@ -186,12 +186,13 @@ public final void subscribe(Subscriber<? super Void> subscriber) {
186
186
protectedabstractbooleanisFlushPending();
187
187
188
188
/**
189
-
* Invoked when an error happens while flushing. Sub-classes may choose
190
-
* to ignore this if they know the underlying API will provide an error
191
-
* notification in a container thread.
192
-
* <p>Defaults to no-op.
189
+
* Invoked when an error happens while flushing.
190
+
* <p>The default implementation cancels the upstream write publisher and
191
+
* sends an onError downstream as the result of request handling.
0 commit comments