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
Or, restore the original exception from the server APIs:
532
+
Or, restore to use the original exception that was used in the server APIs:
533
533
534
534
```java
535
535
.defaultStatusHandler(status -> status ==HttpStatus.NOT_FOUND,
@@ -550,6 +550,6 @@ Or, restore the original exception from the server APIs:
550
550
551
551
552
552
>[!WARNING]
553
-
>Inoticed an issue when adding the status handler:if the application type is set to non-web, it raises a `WebClientRequestException` instead.
553
+
>Iencountered an issue in my example codes when adding the status handler. If the application type is set to `none`, it raises a `WebClientRequestException` instead in the client `ContextRefreshedEvent` handler.
554
554
555
555
Get the [complete example codes](https://github.com/hantsy/spring6-sandbox/tree/master/boot-http-service) from Github, and explore it yourself.
0 commit comments