mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Update SeaweedRead.java
This commit is contained in:
parent
3d3bab2447
commit
ae2309dc58
|
@ -61,6 +61,8 @@ public class SeaweedRead {
|
||||||
return readEncryptedChunkView(position, buffer, startOffset, chunkView, locations);
|
return readEncryptedChunkView(position, buffer, startOffset, chunkView, locations);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: read the chunk and returns the chunk view data here
|
||||||
|
|
||||||
HttpClient client = new DefaultHttpClient();
|
HttpClient client = new DefaultHttpClient();
|
||||||
HttpGet request = new HttpGet(
|
HttpGet request = new HttpGet(
|
||||||
String.format("http://%s/%s", locations.getLocations(0).getUrl(), chunkView.fileId));
|
String.format("http://%s/%s", locations.getLocations(0).getUrl(), chunkView.fileId));
|
||||||
|
|
Loading…
Reference in a new issue