-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resteasy Reactive Client with multipart forms #22658
Comments
/cc @FroMage, @geoand, @stuartwdouglas |
Just to be clear, you are asking for |
I'm not quite sure what you mean by server side. I have following rest client in my Quarkus backend: @Path("/convert")
@RegisterRestClient
public interface Client {
@POST
@Consumes(MediaType.MULTIPART_FORM_DATA)
@Produces("application/pdf")
byte[] convert(@MultipartForm OurForm form) throws PdfGenerationException;
} This client is used in our Quarkus backend to send a text file, which we have in our |
Okay, so understood this wrong. @michalszynkiewicz this is for you after all |
I added this to my todo list but I won't have time for it soon so I'm leaving it unassigned. |
I'll take it as it seems like something we want for |
Allow specifying the filename of multipart requests in Reactive REST Client
@geoand Are you sure this works like the non-reactive rest client? I just changed the dependencies to the Reactive Rest Client on Quarkus 2.7.0.CR1 and now it doesn't work anymore. The server, which is contacted with the REST client, no longer recognizes the transferred data. Update: |
Right, we should probably only allow it on |
But in the JAX-RS client it also works with String and Buffer. Shouldn't it be the same in both implementations? |
There is always a case to be made whether we should be perfectly compatible vs doing something that more semantically correct. When it involves non-core features, I tend to prefer the latter. But in this case, it's ultimately up to @michalszynkiewicz |
Is there a decision on this? |
Description
We use the Resteasy Rest Client with Multipart Forms. We would like to switch to Resteasy Reactive with the whole project. However, in our POJO form we use a multipart annotation for which there is no counterpart in Resteasy Reactive.
It would be great if the
@PartFilename
annotation could be implemented.Implementation ideas
No response
The text was updated successfully, but these errors were encountered: