Skip to main content

Questions tagged [webclient]

WebClient is a class for .NET Framework applications that provides methods for sending and receiving data from a resource identified by a URI.

-2 votes
0 answers
18 views

Using WebClient in an AuthenticationFilter (Spring-boot, spring-security 6.3)

I am new to Reactive programming and I have hard time understanding why it appears chaining of Mono does not work in this context. I tried various methods but with no luck. The latest approach is ...
Siavash Renani's user avatar
-2 votes
0 answers
20 views

WebClient incorrect request body length after intercept in filter

I intercept my XML request body by adding two nodes and remove some namespaces. When I'm trying to use my filter, in header content-length I have pre-intercept request body length. I checked that if I ...
mar14's user avatar
  • 81
0 votes
1 answer
24 views

WebClient request not working after converting from Rest Template

I'm having an issue converting this piece of code below to WebClient. I'm planning to convert it to WebClient as recommended by this doc https://www.baeldung.com/rest-template and I think it is more ...
Derrick Zoleta's user avatar
0 votes
0 answers
30 views

importing cookies from a web browser to download files c#

i am trying to download osu! beatmaps using the link for example https://osu.ppy.sh/beatmapsets/1012634 i want to do the same as clicking the download button. i tried the API and sending a request to ...
cheader's user avatar
  • 11
1 vote
0 answers
27 views

Stack trace printed even though SSLException is being handled

I'm getting SSLHandshakeException when making requests through WebClient. Even though I am catching the exception succesfully (custom LOG4J log.error message is being displayed) the stack trace is ...
Pomelooo's user avatar
0 votes
0 answers
32 views

Mock WebClient webflux bean with Qualifier

I have the following scenario: A config class with two WebClient beans with different names public class WebClientConfig { @Bean("bean_1) public WebClient getWebClient1(WebClient.Builder ...
Gabriel García Garrido's user avatar
0 votes
1 answer
73 views

Flux always returning null or empty

I have this GET controller @GetMapping("/test") public Flux<String> test() { return Flux.just("Test1", "test2") .delayElements(Duration.ofSeconds(1)) .log(...
Maverlck's user avatar
0 votes
0 answers
17 views

Spring oauth2login with netty embedded server

I am using spring boot 3 reactive stack. Netty server. I am trying to make a login with idp with the help of oauth2login (oaut2client library). The calls are stack, I believe due to proxy issue. As I ...
Ltr's user avatar
  • 1
1 vote
1 answer
61 views

Error in webflux webclient with response 200

I am creating an example usisng spring boot webflux that is super simple. Two services and one of them call reactively two times the service of the other. Bascially one controller of the flights "...
Gabriel García Garrido's user avatar
0 votes
0 answers
24 views

Handling Specific Exceptions in WebClient Calls in Client using Spring WebFlux

How to catch specific exception thrown by server in client service when using webclient to communicate? Let me explain a use case - I have a service A. Now A has a method (callExternalApi) which is ...
Arunabha Ghosh's user avatar
0 votes
0 answers
27 views

Spring Boot Using Webclient for Post API Call

I am trying to make a POST API call, and take the response and map it to a model that I have created. The issue I am having is the API response Json has more fields than my model (don't need most of ...
Michael's user avatar
0 votes
0 answers
25 views

Download a large file with WebClient.UploadValues in parts

I need to upload a file that requires authentication which I provide via form data with WebClient.UploadValues The problem is when I download a large file, the application pool is returned due to a ...
user16626854's user avatar
1 vote
1 answer
74 views

Spring boot WebClient connection freezes due to TooLongFrameException: HTTP header is larger than 8192 bytes

I am using a webclient to connect to a downstream API, after getting the response from downstream, my service throws a warning message as given below: 2024-05-01 20:04:08,240 [reactor-http-nio-1] ...
ghanendra singh chauhan's user avatar
0 votes
0 answers
112 views

Customize login form Microsoft Remote Desktop WebClient

I was able to modify the old login form by editing the aspx and css files, but I upgraded to the new html5 to use remote desktop in the browser but it seems that the content is built at runtime, I ...
jos3m's user avatar
  • 127
0 votes
0 answers
12 views

Which cache is triggered in the spring booth application when changing the base url for the WebClient?

In file spring: profiles: active: dev application: name: user-service jpa: hibernate: ddl-auto: validate show-sql: true properties: hibernate: format_sql: true default_schema: security open-in-view: ...
Nikolay Minich's user avatar

15 30 50 per page
1
2 3 4 5
276