org.jclouds.http.HttpRequest



API Populatity

2 Client projects

Project: org.jclouds

Package: org.jclouds.http

Project jclouds/jclouds in file ...rg.jclouds.rest.internal.AsyncRestClientProxy.java (2009-11-23)
@@ -41,7 +41,6 @@ import javax.inject.Singleton;
 
 import org.jclouds.concurrent.FutureExceptionParser;
 import org.jclouds.http.HttpConstants;
-import org.jclouds.http.HttpRequest;
 import org.jclouds.http.HttpResponse;
 import org.jclouds.http.TransformingHttpCommand;
 import org.jclouds.logging.Logger;
@@ -169,7 +168,7 @@ public class AsyncRestClientProxy<T> implements InvocationHandler {
    }
 
    public static interface Factory {
-      public TransformingHttpCommand<?> create(HttpRequest request,
+      public TransformingHttpCommand<?> create(GeneratedHttpRequest<?> request,
                Function<HttpResponse, ?> transformer,
                @Nullable Function<Exception, ?> exceptionTransformer);
    }
Project jclouds/legacy-jclouds in file ...rg.jclouds.rest.internal.AsyncRestClientProxy.java (2009-11-23)
@@ -41,7 +41,6 @@ import javax.inject.Singleton;
 
 import org.jclouds.concurrent.FutureExceptionParser;
 import org.jclouds.http.HttpConstants;
-import org.jclouds.http.HttpRequest;
 import org.jclouds.http.HttpResponse;
 import org.jclouds.http.TransformingHttpCommand;
 import org.jclouds.logging.Logger;
@@ -169,7 +168,7 @@ public class AsyncRestClientProxy<T> implements InvocationHandler {
    }
 
    public static interface Factory {
-      public TransformingHttpCommand<?> create(HttpRequest request,
+      public TransformingHttpCommand<?> create(GeneratedHttpRequest<?> request,
                Function<HttpResponse, ?> transformer,
                @Nullable Function<Exception, ?> exceptionTransformer);
    }
Project jclouds/jclouds in file ...ore.src.main.java.org.jclouds.rest.HttpClient.java (2010-09-12)
@@ -24,6 +24,7 @@ import java.net.URI;
 import java.util.concurrent.TimeUnit;
 
 import org.jclouds.concurrent.Timeout;
+import org.jclouds.http.HttpRequest;
 import org.jclouds.http.options.HttpRequestOptions;
 import org.jclouds.io.Payload;
 
@@ -61,7 +62,12 @@ public interface HttpClient {
     * @return null if the resource didn't exist.
     */
    InputStream get(URI location);
-
+   
+   /**
+    * @return null if the resource didn't exist.
+    */
+   InputStream get(HttpRequest location);
+   
    InputStream get(URI location, HttpRequestOptions options);
 
    /**