org.jclouds.http.HttpResponse



API Populatity

2 Client projects

Project: org.jclouds

Package: org.jclouds.http

Project jclouds/jclouds in file ...uds.route53.internal.BaseRoute53ApiExpectTest.java (2013-01-28)
@@ -18,6 +18,7 @@
  */
 package org.jclouds.route53.internal;
 
+import org.jclouds.http.HttpResponse;
 import org.jclouds.route53.Route53Api;
 
 /**
@@ -25,5 +26,5 @@ import org.jclouds.route53.Route53Api;
  * @author Adrian Cole
  */
 public class BaseRoute53ApiExpectTest extends BaseRoute53ExpectTest<Route53Api> {
-
+   protected HttpResponse notFound = HttpResponse.builder().statusCode(404).build();
 }
Project jclouds/legacy-jclouds in file ...uds.route53.internal.BaseRoute53ApiExpectTest.java (2013-01-28)
@@ -18,6 +18,7 @@
  */
 package org.jclouds.route53.internal;
 
+import org.jclouds.http.HttpResponse;
 import org.jclouds.route53.Route53Api;
 
 /**
@@ -25,5 +26,5 @@ import org.jclouds.route53.Route53Api;
  * @author Adrian Cole
  */
 public class BaseRoute53ApiExpectTest extends BaseRoute53ExpectTest<Route53Api> {
-
+   protected HttpResponse notFound = HttpResponse.builder().statusCode(404).build();
 }
Project jclouds/jclouds in file ...clouds.route53.internal.BaseRoute53ExpectTest.java (2013-01-31)
@@ -19,9 +19,10 @@
 package org.jclouds.route53.internal;
 
 import org.jclouds.date.DateService;
-import org.jclouds.route53.config.Route53RestClientModule;
+import org.jclouds.http.HttpResponse;
 import org.jclouds.rest.ConfiguresRestClient;
 import org.jclouds.rest.internal.BaseRestApiExpectTest;
+import org.jclouds.route53.config.Route53RestClientModule;
 
 import com.google.inject.Module;
 
@@ -44,6 +45,9 @@ public class BaseRoute53ExpectTest<T> extends BaseRestApiExpectTest<T> {
       }
    }
 
+   protected final HttpResponse notFound = HttpResponse.builder().statusCode(404).build();
+   protected final String authForDate = "AWS3-HTTPS AWSAccessKeyId=identity,Algorithm=HmacSHA256,Signature=pylxNiLcrsjNRZOsxyT161JCwytVPHyc2rFfmNCuZKI=";
+
    @Override
    protected Module createModule() {
       return new TestRoute53RestClientModule();