标签[spring-webflux]

Spring Framework 5包括一个新的spring-webflux模块。 该模块包含对响应式HTTP和WebSocket客户端以及响应式服务器Web应用程序(包括REST,HTML浏览器和WebSocket样式的交互)的支持。WebFlux可以在Servlet容器上运行,并支持Servlet 3.1 Non-Blocking IO API以及其他异步运行时,例如Netty和Undertow。

0
0回复
08

使用Springwebflux时响应为APPLICATION_XML的问题

Following code works fine while returning JSON以下代码在返回 JSON 时工作正常public Mono<ServerResponse> postUpload(ServerRequest request) {final Flux<Obj
0
1回复
16

我如何拥有Spring启动存储库(接口)的多个实例,以获得完整的测试状态隔离?

1) Contextualization: 1) 情境化: In order, to have a complete test-isolation-state in all test of my Test-Class;为了在我的测试班的所有测试中拥有完整的测试隔离状态; I would like
1
0回复
34

MapReactiveUserDetailsS​​ervice在SpringWebflux安全认证中做了什么?

I'm trying to implement Spring Security authentication on Spring WebFlux app.我正在尝试在 Spring WebFlux 应用程序上实现 Spring Security 身份验证。 I have implemented Sp
0
1回复
20

相当于.publish(Function)用于ParallelFlux反应堆3

I have some Reactor Flux like this:我有一些像这样的 Reactor Flux:SomeFlux.map(thing -> makeOtherThing(thing)) .publish(fluxFunction) .subscri
0
1回复
23

JavaSpringWebflux-在反应式管道中使用Mono.error(newMyCustomException())

Small question regarding the usage of Mono.error(new MyCustomException()) in a reactive pipeline please关于 Mono.error(new MyCustomException()) 在反应式管道中的
0
1回复
20

邮递员中的Java-springboot-webflux内部服务器错误

I'm using spring-boot with web flux and have been trying to hit a basic get on postman which just is supposed to return a string but I'm getting an in
0
0回复
13

SpringWebflux-数据库连接指标

Quick question regarding database connection metrics for Spring Webflux app please.请快速询问有关 Spring Webflux 应用程序的数据库连接指标的问题。 For the SpringBoot (non Web
0
0回复
16

如何在SpringCloudGateway中验证OAuth令牌

I have a Spring Cloud gateway application which currently supports "HTTP basic auth".我有一个 Spring Cloud 网关应用程序,它目前支持“HTTP 基本身份验证”。 I'm planning to use
-1
0回复
11

java反应式数据库获取

Using reactive programming , it is possible to fetch data from stream and do processing .使用反应式编程,可以从流中获取数据并进行处理。 We are doing a database fetch from Or
0
1回复
24

SpringWebflux:根据抛出的异常返回状态码和消息

The bounty expires in 5 days . 赏金将在 5 天后到期。 Answers to this question are eligible for a +50 r
0
1回复
22

减少webclient调用的初始延迟

I am currently using Webclient of spring-webflux package to make synchronous REST calls.我目前正在使用 spring-webflux 包的 Webclient 进行同步 REST 调用。 But the time
-1
0回复
44

如何使用SpringBootWebClient访问受OAuth2密码保护的RESTAPI

I have a rest api secured with oauth2 (authorization grant type is password) that I need to consume.我有一个使用 oauth2 保护的 rest api(授权类型是密码),我需要使用它。 I foll
-1
1回复
21

根据某些标头值跳过SpringFluxSecurity

My requirement is pretty different, Actually I've added security in Spring Cloud API Gateway (WebFlux based) and Now Basically I want to skip OAuth re
-3
0回复
21

Axon框架是否支持spring反应式?[关闭]

Closed . 关闭。 This question needs to be more focused . 这个问题需要更加集中。 It is not currently accepting answers.
0
1回复
30

WebFlux-在Webflux中读取纯文本请求正文

I am using Java WebFlux version 2.5.2.我使用的是 Java WebFlux 2.5.2 版。 I need to extract the plain text, which is coming as POST request and then I will ha
0
2回复
18

SpringWebflux:如何创建用于部署的TomcatWAR?

I've seen and tryed a lot of tutorial about spring-boot-starter-tomcat.我已经看过并尝试了很多关于 spring-boot-starter-tomcat 的教程。 But those worked for spring boot
1
1回复
35

如何组合两个或多个参数化的MonosWebflux最佳实践

So I am calling a service "ServiceA" that makes an external call via webclient, that returns a mono, Then I would like to call another service "servic
0
0回复
29

Spring数据MongoDB停止流监视没有错误

I have a stream watching my collection that I would like to stop after few seconds.我有一个流正在观看我的收藏,我想在几秒钟后停止。 I'm able to stop it however its always thr
-1
0回复
06

使用SpringWebClient将参数传递给clientResponse的新线程

I am using the Spring WebClient (org.springframework.web.reactive.function.client.WebClient) in order to implement some non-blocking behaviour.我正在使用 S
-2
0回复
24

SpringWebflux-Schedulers.enableMetrics();-executor_scheduled_repetitively_total

Small question about Spring Webflux and the metrics given by Schedulers.enableMetrics();关于 Spring Webflux 和Schedulers.enableMetrics();给出的指标的小问题Schedul

1 2 3 4 5 6 7 8 9 10 下一页