code: public static ResourceMeta withStream(final HasInputStream stream, final Map<String, String> meta) {
          return new BaseStreamResource(meta,stream);
      }
docs: @return Construct a resource
  
  @param stream stream
  @param meta metadata