code: public Observable<Page<DetectorResponseInner>> listHostingEnvironmentDetectorResponsesAsync(final String resourceGroupName, final String name) {
          return listHostingEnvironmentDetectorResponsesWithServiceResponseAsync(resourceGroupName, name)
              .map(new Func1<ServiceResponse<Page<DetectorResponseInner>>, Page<DetectorResponseInner>>() {
                  @Override
                  public Page<DetectorResponseInner> call(ServiceResponse<Page<DetectorResponseInner>> response) {
                      return response.body();
                  }
              });
      }
docs: List Hosting Environment Detector Responses.
  List Hosting Environment Detector Responses.
  
  @param resourceGroupName Name of the resource group to which the resource belongs.
  @param name Site Name
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the PagedList&lt;DetectorResponseInner&gt; object