original_string: protected function read(Url $url)
      {
          /** @var Response $response */
          try {
              $response = $this->getHttpInvoker()->get((string) $url);
          } catch (RequestException $exception) {
              $code = 0;
              $message = null;
              if ($exception->getResponse()) {
                  $code = $exception->getResponse()->getStatusCode();
                  $message = $exception->getResponse()->getBody();
              }
              throw $this->convertStatusCode(
                  $code,
                  (string) $message,
                  $exception
              );
          }
  
          return $response;
      }
code: protected function read(Url $url)
      {
          /** @var Response $response */
          try {
              $response = $this->getHttpInvoker()->get((string) $url);
          } catch (RequestException $exception) {
              $code = 0;
              $message = null;
              if ($exception->getResponse()) {
                  $code = $exception->getResponse()->getStatusCode();
                  $message = $exception->getResponse()->getBody();
              }
              throw $this->convertStatusCode(
                  $code,
                  (string) $message,
                  $exception
              );
          }
  
          return $response;
      }
code_tokens: protected function read ( Url $ url ) { /** @var Response $response */ try { $ response = $ this -> getHttpInvoker ( ) -> get ( ( string ) $ url ) ; } catch ( RequestException $ exception ) { $ code = 0 ; $ message = null ; if ( $ exception -> getResponse ( ) ) { $ code = $ exception -> getResponse ( ) -> getStatusCode ( ) ; $ message = $ exception -> getResponse ( ) -> getBody ( ) ; } throw $ this -> convertStatusCode ( $ code , ( string ) $ message , $ exception ) ; } return $ response ; }
docstring: Do a get request for the given url
  
  @param Url $url
  @return Response
  @throws CmisBaseException an more specific exception of this type could be thrown. For more details see
  @see AbstractBrowserBindingService::convertStatusCode()
docstring_tokens: Do a get request for the given url