package com.github.droidfu.http;

import java.net.ConnectException;

import oauth.signpost.OAuthConsumer;
import oauth.signpost.exception.OAuthException;

import org.apache.http.client.methods.HttpUriRequest;

public class CachedHttpRequest implements BetterHttpRequest {

    private String url;

    public CachedHttpRequest(String url) {
        this.url = url;
    }

    public String getRequestUrl() {
        return url;
    }

    public BetterHttpRequest expecting(Integer... statusCodes) {
        return this;
    }

    public BetterHttpRequest retries(int retries) {
        return this;
    }

    public BetterHttpResponse send() throws ConnectException {
        return new CachedHttpResponse(url);
    }

    public BetterHttpRequest signed(OAuthConsumer oauthConsumer) throws OAuthException {
        return this;
    }

    public HttpUriRequest unwrap() {
        return null;
    }

    public BetterHttpRequest withTimeout(int timeout) {
        return this;
    }
}

@@ -66,94 +66,8 @@
 n;%0A%0A
-import oauth.signpost.OAuthConsumer;%0Aimport oauth.signpost.exception.OAuthException;%0A%0A
 impo
@@ -633,125 +633,8 @@
  %7D%0A%0A
-    public BetterHttpRequest signed(OAuthConsumer oauthConsumer) throws OAuthException %7B%0A        return this;%0A    %7D%0A%0A
     

remove left-over dependency to signpost