2020欧洲杯时间表

Questions tagged [spring-webflux]

2020欧洲杯时间表 Spring Framework 5 includes a new spring-webflux module. The module contains support for reactive HTTP and WebSocket clients as well as for reactive server web applications including REST, HTML browser, and WebSocket style interactions.WebFlux can run on Servlet containers with support for the Servlet 3.1 Non-Blocking IO API as well as on other async runtimes such as Netty and Undertow.

Filter by
Sorted by
Tagged with
0
votes
0answers
15 views

Access to original value from Flux in onErrorContinue method

I want to ask if there is any possibility to get original input value for flux, when during flow (mappings, processing) some exception occurred and is catched in onErrorContinueMethod. Here is small ...
2
votes
0answers
21 views

How to check if user exists locally when logging in with spring oath2 google login

I am making social network login with simple username and password login. Simple login works correctly, Google login also works, but I want to connect users from both logins together. For example if I ...
1
vote
2answers
24 views

Reactor Flux flatMap operator throughput/concurrency control and achieve backpressure

I am using Flux to build my reactive pipeline. In the pipeline, I need to call 3 different external system REST APIs, which are very strict with their Rate of access. I will be throttled ...
0
votes
1answer
14 views

How can I get the referrer URL in Spring Webflux?

How can I get the referrer URL in Spring Webflux? I tried to look into the header attributes in ServerWebExchange exchange object but could not found the same. Can someone please help me here.
1
vote
0answers
14 views

Webflux media stream through nginx sometimes fails

Attempting to stream media files from a WebFlux application through Nginx I hit a strange edge where some videos don't work, but others work just fine. The error I get sometimes is net::...
0
votes
2answers
26 views

Data JPA Test with reactive spring

I want to test the repository layer and I'm using spring webflux. My test class is as follows @RunWith(SpringRunner.class) @DataJpaTest public class DataTester { @Autowired private ...
0
votes
1answer
16 views

Spring security session timeout for spring reactive

I have a Reactive Application with Spring Security integrated, it was created by spring initilizer with mainly thre3 packages(spring boot, spring security and webflux). I was trying to configure the ...
0
votes
0answers
32 views

Setting Content-Type in Spring Web Reactive ServerResponse

I have a header map containing key Content-Type with value application/xml; charset=UTF-8. I have prepared the response with the following code block: response.setHeaders(headerMap); return ...
0
votes
1answer
22 views

Convert one response object to another object(pojo) in Spring webflux flux responce without subscribing it

I am trying to consume one rest api which returns response in FLUX. My target is to consume rest api and process flux response object (Convert one response object-1 to another object-2(pojo) in ...
0
votes
0answers
46 views

repeatWhenEmpty operator doesn't work in the context of an RSocket websocket request but it does in HTTP calls

I've come across a strange behaviour with the repeatWhenEmpty operator that doesn't make any sense to me. I uploaded a repository on Github with a minimum reproducible sample: http://github.com/...
0
votes
0answers
16 views

Spring WebFlux and Thymeleaf form validation messages

I'm trying to learn webflux and thymeleaf but I'm stuck almost at the beginning. I was able to fetch data from form and validate it, but I'm unable to get error messages using ${#fields(...)} in ...
-1
votes
0answers
37 views

Spring webflux jackson: my class has different attributes of external API

I start on Spring webflux. I have a business class, with attributes for my object. public class Example { private String country; } I have several external APIs, which have attribute names ...
0
votes
1answer
57 views

Spring Webflux Non-Blocking Dependent Resource Calls

I am using Spring Webflux and Spring Data MongoDB Reactive. In my REST Controller I am trying to get all objects of a kind (e.g. all bikes of a brand) from the database (MongoDB). My current ...
1
vote
1answer
30 views

webflux Mono response empty

I have a very simple spring webflux rest endpoint in my project. @Bean public RouterFunction authRoute() { return RouterFunctions.route(POST("/auth/signin").and(accept(APPLICATION_JSON)), this::...
0
votes
1answer
41 views

Spring 3 RestTemplate to WebClient

I'm trying to migrate Spring version 3 RestTemplate with the WebClient. But I'm getting this compilation error while doing this migration. cannot access org.springframework.core....

15 30 50 per page
1
2 3 4 5
170