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); }
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; }
public boolean hasBody(Map<String, Object> content, String streamId) { return streamedContentHelper.hasStream(content, streamId); }