code: public PagedList<SourceControlInner> listSourceControls() {
          ServiceResponse<Page<SourceControlInner>> response = listSourceControlsSinglePageAsync().toBlocking().single();
          return new PagedList<SourceControlInner>(response.body()) {
              @Override
              public Page<SourceControlInner> nextPage(String nextPageLink) {
                  return listSourceControlsNextSinglePageAsync(nextPageLink).toBlocking().single().body();
              }
          };
      }
docs: Gets the source controls available for Azure websites.
  Gets the source controls available for Azure websites.
  
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws DefaultErrorResponseException 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;SourceControlInner&gt; object if successful.