Questions tagged [helidon-webclient]

15 questions
4
votes
1 answer

How can I send "PATCH" requests using Helidon WebClient?

I am trying to send a "PATCH" request using Helidon WebClient. How can this be achieved? Is it possible? I've made requests using other protocols with no problem since there are functions for GET, POST, PUT, and DELETE requests, but I can't find one…
Camden
  • 53
  • 4
2
votes
1 answer

Helidon Webclient does not seem to work with a proxy

I am facing some trouble with the WebClient when using proxy, i.e. the code below does not work WebClient webClient = WebClient.builder().baseUri("BASEURL").proxy(getProxy()).build(); Single res =…
2
votes
1 answer

Helidon Webclient Handle 400 Bad Request

I'm new to Helidon framework and started with Helidon 2 with JDK11 for our microservice. As per the requirement we need to invoke external HTTP/HTTPS endpoints and for that started exploring helidon webclient from below…
Sourabh
  • 43
  • 6
2
votes
1 answer

convert for loop in java reactive programming - helidon

I am new to reactive programming and using helidon reactive java libraries in our code. I am unable to achieve the below use case. I have a scenario as below. First I invoke a REST API and get response.From the response that contains list of…
2
votes
1 answer

Does helidon supports HTTP2?

i want to start using Helidon for our project whcih is currently based on Spring Boot. Want to know if Helidon MP or Helidon SE supports HTTP2 server and clients?
Gaurav
  • 21
  • 1
1
vote
1 answer

Setting up a config map in HelidonMP

Team, i Have been trying to create config map for one helidon MP project. I have mounted application.yaml file into the config map but still it is not been considered in the pod. dockerfile: FROM…
Ramaiah .S
  • 151
  • 6
1
vote
1 answer

Can we use Helidon MP RestClient to make HTTP/2 requests?

We are exploring Helidon MP and would like to use it to support microservice communication using REST over HTTP/2. Would like to understand if Helidon MP supports its RestClient micro-profile to make HTTP/2 requests. We did not find any…
Tom
  • 21
  • 1
0
votes
1 answer

Helidon : Caused by: io.helidon.webclient.WebClientException: Request failed with code 302

I'm writing a helidon web-client, I'm getting Caused by: io.helidon.webclient.WebClientException: Request failed with code 302 import java.util.concurrent.ExecutionException; import io.helidon.media.jsonp.JsonpSupport; import…
Pratik Gaurav
  • 661
  • 7
  • 8
0
votes
1 answer

How to avoid the .helidon-oidc-secret file creation while using logout features in helidon

we are using helidon logout feature. How do I avoid the creation of .helidon-oidc-secret. Is there a way to set this in configuration ? When I deploy it to cluster it is trying to create/access .helidon-oidc-secret file. We are only allowed to have…
0
votes
1 answer

Configuring Security and Streamlining WebClient in Helidon: Adding Security Services and Handling Readers, Writers, and Media Support via CONFIG File

I am currently working on adding security to the Helidon webclient programmatically. To achieve this, I'm using the WebClientSecurity class to create a security service and integrating it into the WebClient using the addService method. However, I'm…
Arica
  • 1
0
votes
1 answer

Configuring Helidon WebClient for JsonbSupport reader, writer and media support through properties

I want to configure my helidon web-client just using config. Something like below: WebClient.builder() .config(Config.create().get("web-client")).build(); and my config looks like below: web-client: uri: media-support: …
0
votes
0 answers

Thread gets blocked in thenAccept but works in thenAcceptAsync

I am using Helidon WebClient to do API calls, I have struck upon a certain use case, I am pasting a demo of the use case. var request = webClient.get() .path("/api/users?page=2") .request(String.class) …
0
votes
1 answer

Encountering MappableException after upgrading helidon and jersey

After upgrading helidon to 2.5.4 and jersey to 2.35, I am getting the following exception in one of the API. With previous version of helidon(2.0.2) and jersey(2.29.1), it used to work fine. Can you please help to resolve this…
0
votes
1 answer

io.helidon.webserver.ServerResponse.send() throwing error on server but file downloaded on front end

Trying to write one sample for (file upload and download) error in server. Though it downloads the file in the frontend, getting error in server. For Routing-- WebServer.builder(getRouting()).port(8080).build().start(); private static Routing…
MRS
  • 1
0
votes
2 answers

What is the difference between request() and submit() in Helidon's WebClientRequestBuilder?

Helidon's WebClientRequestBuilder has two similar APIs: request() and submit(). Both APIs return Single. request()'s Javadoc says... Performs prepared request without expecting to receive any specific type. Response is not…
Nathan
  • 8,093
  • 8
  • 50
  • 76