code: public PagedList<RouteFilterRuleInner> listByRouteFilter(final String resourceGroupName, final String routeFilterName) {
          ServiceResponse<Page<RouteFilterRuleInner>> response = listByRouteFilterSinglePageAsync(resourceGroupName, routeFilterName).toBlocking().single();
          return new PagedList<RouteFilterRuleInner>(response.body()) {
              @Override
              public Page<RouteFilterRuleInner> nextPage(String nextPageLink) {
                  return listByRouteFilterNextSinglePageAsync(nextPageLink).toBlocking().single().body();
              }
          };
      }
docs: Gets all RouteFilterRules in a route filter.
  
  @param resourceGroupName The name of the resource group.
  @param routeFilterName The name of the route filter.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws CloudException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the PagedList&lt;RouteFilterRuleInner&gt; object if successful.