Use the checkpoint operator at various places in WebFlux to insert
information that Reactor then uses to enrich exceptions, via suppressed
exceptions, when error signals flow through the operator.
Closes gh-22105
@ -53,7 +53,7 @@ public class DefaultWebFilterChain implements WebFilterChain {
@@ -53,7 +53,7 @@ public class DefaultWebFilterChain implements WebFilterChain {
privatefinalWebFiltercurrentFilter;
@Nullable
privatefinalDefaultWebFilterChainnext;
privatefinalDefaultWebFilterChainchain;
/**
@ -68,7 +68,7 @@ public class DefaultWebFilterChain implements WebFilterChain {
@@ -68,7 +68,7 @@ public class DefaultWebFilterChain implements WebFilterChain {
@ -84,12 +84,12 @@ public class DefaultWebFilterChain implements WebFilterChain {
@@ -84,12 +84,12 @@ public class DefaultWebFilterChain implements WebFilterChain {
@ -117,9 +117,14 @@ public class DefaultWebFilterChain implements WebFilterChain {
@@ -117,9 +117,14 @@ public class DefaultWebFilterChain implements WebFilterChain {
@ -41,7 +44,10 @@ public class ExceptionHandlingWebHandler extends WebHandlerDecorator {
@@ -41,7 +44,10 @@ public class ExceptionHandlingWebHandler extends WebHandlerDecorator {
@ -71,4 +77,24 @@ public class ExceptionHandlingWebHandler extends WebHandlerDecorator {
@@ -71,4 +77,24 @@ public class ExceptionHandlingWebHandler extends WebHandlerDecorator {
@ -136,7 +136,7 @@ final class DefaultClientResponseBuilder implements ClientResponse.Builder {
@@ -136,7 +136,7 @@ final class DefaultClientResponseBuilder implements ClientResponse.Builder {
// When building ClientResponse manually, the ClientRequest.logPrefix() has to be passed,
// e.g. via ClientResponse.Builder, but this (builder) is not used currently.
@ -63,11 +63,16 @@ public class WebClientResponseException extends WebClientException {
@@ -63,11 +63,16 @@ public class WebClientResponseException extends WebClientException {
@ -80,7 +80,9 @@ public class StandardWebSocketHandlerAdapter extends Endpoint {
@@ -80,7 +80,9 @@ public class StandardWebSocketHandlerAdapter extends Endpoint {
@ -117,7 +117,7 @@ public class ReactorNettyWebSocketClient implements WebSocketClient {
@@ -117,7 +117,7 @@ public class ReactorNettyWebSocketClient implements WebSocketClient {
if(logger.isDebugEnabled()){
logger.debug("Started session '"+session.getId()+"' for "+url);
@ -204,7 +204,9 @@ public class UndertowWebSocketClient implements WebSocketClient {
@@ -204,7 +204,9 @@ public class UndertowWebSocketClient implements WebSocketClient {
@ -81,7 +82,8 @@ public class ReactorNettyRequestUpgradeStrategy implements RequestUpgradeStrateg
@@ -81,7 +82,8 @@ public class ReactorNettyRequestUpgradeStrategy implements RequestUpgradeStrateg
@ -93,14 +93,16 @@ public class UndertowRequestUpgradeStrategy implements RequestUpgradeStrategy {
@@ -93,14 +93,16 @@ public class UndertowRequestUpgradeStrategy implements RequestUpgradeStrategy {