better onresopnse / recv() support for gateway
authorBill Erickson <berick@esilibrary.com>
Fri, 16 Mar 2012 13:56:13 +0000 (09:56 -0400)
committerBill Erickson <berick@esilibrary.com>
Fri, 16 Mar 2012 13:56:13 +0000 (09:56 -0400)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
src/java/org/opensrf/net/http/HttpRequest.java

index d91a127..8659fea 100644 (file)
@@ -58,6 +58,10 @@ public abstract class HttpRequest {
         return failure;
     }
 
+    public boolean failed() {
+        return failed;
+    }
+
     public abstract HttpRequest send();
 
     public abstract Object recv();