Some page-based cursor services, such as gcloud-java-storage and gcloud-java-resourcemanager, currently have duplicated code for the BasePageFetcher. We should refactor the BasePageFetcher code to be in gcloud-java-core. We can use Generics for the specific Options type O and provide an abstract method to return the PAGE_TOKEN option.
Some page-based cursor services, such as
gcloud-java-storageandgcloud-java-resourcemanager, currently have duplicated code for theBasePageFetcher. We should refactor theBasePageFetchercode to be ingcloud-java-core. We can use Generics for the specific Options type O and provide an abstract method to return the PAGE_TOKEN option.