TEntity - the type parameterTOperations - the type parameterpublic abstract class OrcMediaEntityFetcher<TEntity extends ODataBaseEntity,TOperations extends OrcOperations> extends OrcEntityFetcher<TEntity,TOperations> implements Readable<TEntity>
| Modifier and Type | Class and Description |
|---|---|
class |
OrcMediaEntityFetcher.MediaEntityInputStream |
clazz, parent, urlComponent| Constructor and Description |
|---|
OrcMediaEntityFetcher(java.lang.String urlComponent,
OrcExecutable parent,
java.lang.Class<TEntity> clazz,
java.lang.Class<TOperations> operationClazz)
Instantiates a new OrcMediaEntityFetcher.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<byte[]> |
getContent() |
com.google.common.util.concurrent.ListenableFuture<java.io.InputStream> |
getStreamedContent() |
com.google.common.util.concurrent.ListenableFuture<java.lang.Void> |
putContent(byte[] content) |
com.google.common.util.concurrent.ListenableFuture<java.lang.Void> |
putContent(java.io.InputStream stream,
long streamSize) |
delete, expand, getOperations, oDataExecute, read, readRaw, select, update, update, updateRawaddByteArrayResultCallback, getResolver, setSelectorUrladdCustomHeader, addCustomParameter, as, getHeaders, getParameters, logpublic OrcMediaEntityFetcher(java.lang.String urlComponent,
OrcExecutable parent,
java.lang.Class<TEntity> clazz,
java.lang.Class<TOperations> operationClazz)
urlComponent - the url componentparent - the parentclazz - the clazzoperationClazz - the operation clazzpublic com.google.common.util.concurrent.ListenableFuture<byte[]> getContent()
public com.google.common.util.concurrent.ListenableFuture<java.io.InputStream> getStreamedContent()
public com.google.common.util.concurrent.ListenableFuture<java.lang.Void> putContent(byte[] content)
public com.google.common.util.concurrent.ListenableFuture<java.lang.Void> putContent(java.io.InputStream stream,
long streamSize)