Browse Source

Update SeaweedRead.java

pull/1255/head
Chris Lu 5 years ago
parent
commit
ae2309dc58
  1. 2
      other/java/client/src/main/java/seaweedfs/client/SeaweedRead.java

2
other/java/client/src/main/java/seaweedfs/client/SeaweedRead.java

@ -61,6 +61,8 @@ public class SeaweedRead {
return readEncryptedChunkView(position, buffer, startOffset, chunkView, locations);
}
// TODO: read the chunk and returns the chunk view data here
HttpClient client = new DefaultHttpClient();
HttpGet request = new HttpGet(
String.format("http://%s/%s", locations.getLocations(0).getUrl(), chunkView.fileId));

Loading…
Cancel
Save