Interface HttpClient

    • Method Detail

      • get

        @GET
        InputStream get​(URI location)
        Returns:
        null if the resource didn't exist.
      • invoke

        HttpResponse invoke​(HttpRequest request)
        Parameters:
        request -
        Returns:
        response, but make sure you consume its content.
      • delete

        @DELETE
        boolean delete​(URI location)
        Returns:
        false if the resource didn't exist.