コード例 #1
0
 public Map<String, Object> streamBodyIn(
     String keySpace,
     String columnFamily,
     String contentId,
     String contentBlockId,
     String streamId,
     Map<String, Object> content,
     InputStream in)
     throws StorageClientException, AccessDeniedException, IOException {
   checkClosed();
   return streamedContentHelper.writeBody(
       keySpace, columnFamily, contentId, contentBlockId, streamId, content, in);
 }
コード例 #2
0
 public InputStream streamBodyOut(
     String keySpace,
     String columnFamily,
     String contentId,
     String contentBlockId,
     String streamId,
     Map<String, Object> content)
     throws StorageClientException, AccessDeniedException, IOException {
   checkClosed();
   final InputStream in =
       streamedContentHelper.readBody(keySpace, columnFamily, contentBlockId, streamId, content);
   if (in != null) {
     registerDisposable(new StreamDisposable(in));
   }
   return in;
 }
コード例 #3
0
 public boolean hasBody(Map<String, Object> content, String streamId) {
   return streamedContentHelper.hasStream(content, streamId);
 }