@@ -1029,7 +1029,9 @@ public PagedIterable<BlobItem> listBlobs(ListBlobsOptions options, String contin
1029
1029
if (options != null ) {
1030
1030
finalOptions .setMaxResultsPerPage (options .getMaxResultsPerPage ())
1031
1031
.setPrefix (options .getPrefix ())
1032
+ .setStartFrom (options .getStartFrom ())
1032
1033
.setDetails (options .getDetails ());
1034
+
1033
1035
}
1034
1036
/*
1035
1037
If pageSize was not set in a .byPage(int) method, the page size from options will be preserved.
@@ -1044,7 +1046,8 @@ public PagedIterable<BlobItem> listBlobs(ListBlobsOptions options, String contin
1044
1046
Callable <ResponseBase <ContainersListBlobFlatSegmentHeaders , ListBlobsFlatSegmentResponse >> operation
1045
1047
= () -> this .azureBlobStorage .getContainers ()
1046
1048
.listBlobFlatSegmentWithResponse (containerName , finalOptions .getPrefix (), nextMarker ,
1047
- finalOptions .getMaxResultsPerPage (), include , null , null , Context .NONE );
1049
+ finalOptions .getMaxResultsPerPage (), include , finalOptions .getStartFrom (), null , null ,
1050
+ Context .NONE );
1048
1051
1049
1052
ResponseBase <ContainersListBlobFlatSegmentHeaders , ListBlobsFlatSegmentResponse > response
1050
1053
= StorageImplUtils .sendRequest (operation , timeout , BlobStorageException .class );
@@ -1162,7 +1165,8 @@ public PagedIterable<BlobItem> listBlobsByHierarchy(String delimiter, ListBlobsO
1162
1165
if (options != null ) {
1163
1166
finalOptions .setMaxResultsPerPage (options .getMaxResultsPerPage ())
1164
1167
.setPrefix (options .getPrefix ())
1165
- .setDetails (options .getDetails ());
1168
+ .setDetails (options .getDetails ())
1169
+ .setStartFrom (options .getStartFrom ());
1166
1170
}
1167
1171
/*
1168
1172
If pageSize was not set in a .byPage(int) method, the page size from options will be preserved.
@@ -1188,7 +1192,7 @@ private PagedResponse<BlobItem> listBlobsHierarchySegment(String marker, String
1188
1192
Callable <ResponseBase <ContainersListBlobHierarchySegmentHeaders , ListBlobsHierarchySegmentResponse >> operation
1189
1193
= () -> azureBlobStorage .getContainers ()
1190
1194
.listBlobHierarchySegmentWithResponse (containerName , delimiter , options .getPrefix (), marker ,
1191
- options .getMaxResultsPerPage (), include , null , null , Context .NONE );
1195
+ options .getMaxResultsPerPage (), include , options . getStartFrom (), null , null , Context .NONE );
1192
1196
1193
1197
ResponseBase <ContainersListBlobHierarchySegmentHeaders , ListBlobsHierarchySegmentResponse > response
1194
1198
= StorageImplUtils .sendRequest (operation , timeout , BlobStorageException .class );
0 commit comments