.listApplications(ListSpaceApplicationsRequest.builder()
.name(application)
.spaceId(spaceId)
.page(page)
.build()))
<BUG>.map(OperationUtils.<ApplicationResource, AbstractApplicationResource>cast());
}</BUG>
private static Mono<AssociateApplicationRouteResponse> requestAssociateRoute(CloudFoundryClient cloudFoundryClient, String applicationId, String routeId) {
return cloudFoundryClient.applicationsV2()
.associateRoute(AssociateApplicationRouteRequest.builder()

.listApplications(ListSpaceApplicationsRequest.builder()
.name(application)
.spaceId(spaceId)
.page(page)
.build()))
.cast(AbstractApplicationResource.class);
}
private static Mono<AssociateApplicationRouteResponse> requestAssociateRoute(CloudFoundryClient cloudFoundryClient, String applicationId, String routeId) {
return cloudFoundryClient.applicationsV2()
.associateRoute(AssociateApplicationRouteRequest.builder()
