@Target(value={METHOD,TYPE}) @Retention(value=RUNTIME) @Documented public @interface Streaming
Source,
this annotation indicates that such component supports streaming.
The runtime can automatically infer that when the return type is a InputStream,
but there're corner cases in which the return type is of some other abstraction type
and thus this has to be manually hinted.
Using this annotation on components which return InputStream is redundant
yet harmless.
Copyright © 2017 MuleSoft, Inc.. All rights reserved.