I’ll check this and let you know my findings.


在 2021年10月28日 下午4:42:01, Gunnar Schmid (gunnar.schmid+redhat@gmail.com) 写到:

Hello,
I'm using Resteasy client to upload files to a service.

I can set the filename using the @PartFilename annotation:

@FormParam("file")
@PartType(MediaType.APPLICATION_OCTET_STREAM)
@PartFilename("staticfilename.bin")
public InputStream file;

But this sets the filename at compile time - how can I make this dynamic?
_______________________________________________
resteasy mailing list -- resteasy@lists.jboss.org
To unsubscribe send an email to resteasy-leave@lists.jboss.org