You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
corePertains to guardrail-corejavaBroadly concerning Java code generation or the generated Java codescalaBroadly concerning Scala code generation or the generated Scala code
File requires that Jersey write out the data to a temp file on disk, while InputStream allows Jersey to stream the data to us.
I'm not sure how well it'll work client-side. Users will have to create a FileInputStream to pass instead of a File (which isn't a big deal), but unclear how to make AsyncHttpClient work with it. AHC has InputStreamBodyGenerator for turning an IS into a request body, but doesn't have something analogous for multipart file parts.
The text was updated successfully, but these errors were encountered:
Something similar could be used in scala land as well. File was a stopgap to get anything working. The helper method that generates Files from known parameters per handler route could be altered to produce InputStreams
blast-hardcheese
added
core
Pertains to guardrail-core
java
Broadly concerning Java code generation or the generated Java code
scala
Broadly concerning Scala code generation or the generated Scala code
labels
May 4, 2019
corePertains to guardrail-corejavaBroadly concerning Java code generation or the generated Java codescalaBroadly concerning Scala code generation or the generated Scala code
File
requires that Jersey write out the data to a temp file on disk, whileInputStream
allows Jersey to stream the data to us.I'm not sure how well it'll work client-side. Users will have to create a
FileInputStream
to pass instead of aFile
(which isn't a big deal), but unclear how to make AsyncHttpClient work with it. AHC hasInputStreamBodyGenerator
for turning an IS into a request body, but doesn't have something analogous for multipart file parts.The text was updated successfully, but these errors were encountered: