public class RemoteBlobStoreClient extends Object implements BlobStoreClient
| Constructor and Description |
|---|
RemoteBlobStoreClient(String apiUrlBase,
HttpClient httpClient) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
readBlob(String prefix,
String blobId,
Function<InputStream,T> writer,
String expectedContentType) |
BlobResponse |
writeBlob(String prefix,
byte[] bytes,
String contentType) |
public RemoteBlobStoreClient(String apiUrlBase, HttpClient httpClient)
public BlobResponse writeBlob(String prefix, byte[] bytes, String contentType)
writeBlob in interface BlobStoreClientpublic <T> T readBlob(String prefix, String blobId, Function<InputStream,T> writer, String expectedContentType)
readBlob in interface BlobStoreClientCopyright © 2021. All rights reserved.