Hash and Hmac tags should support InputStreams
alexvigdor opened this issue · 1 comments
alexvigdor commented
The core Hash and Hmac tags currently support String
, byte[]
or template values for generating hashes and signatures respectively; we should also support InputStream
for efficient handling of arbitrarily large payloads (e.g. groovity-data Attachment
). It would also be fairly trivial to add File
support as a convenience as well.
alexvigdor commented
It might also make sense to support HttpEntity
since that is another produce of InputStream
https://hc.apache.org/httpcomponents-core-4.2.x/httpcore/apidocs/org/apache/http/HttpEntity.html