Revision 37a14877 src/com/rackspace/cloud/files/api/client/ContainerObjectManager.java
b/src/com/rackspace/cloud/files/api/client/ContainerObjectManager.java | ||
---|---|---|
20 | 20 |
import org.xml.sax.XMLReader; |
21 | 21 |
|
22 | 22 |
import android.content.Context; |
23 |
import android.util.Log; |
|
24 | 23 |
|
25 | 24 |
import com.rackspace.cloud.files.api.client.parsers.ContainerObjectXMLparser; |
26 | 25 |
import com.rackspace.cloud.servers.api.client.Account; |
... | ... | |
43 | 42 |
this.context = context; |
44 | 43 |
} |
45 | 44 |
|
46 |
public ArrayList<ContainerObjects> createList(boolean detail, String passName, String path) throws CloudServersException {
|
|
45 |
public ArrayList<ContainerObjects> createList(boolean detail, String passName) throws CloudServersException { |
|
47 | 46 |
|
48 | 47 |
CustomHttpClient httpclient = new CustomHttpClient(context); |
49 |
Log.d("Request", "captin the request is : " + Account.getAccount().getStorageUrl()+"/"+passName+"?path=" + path + "&format=xml"); |
|
50 |
HttpGet get = new HttpGet(Account.getAccount().getStorageUrl()+"/"+passName+"?path=" + path + "&format=xml"); |
|
48 |
HttpGet get = new HttpGet(Account.getAccount().getStorageUrl()+"/"+passName + "?format=xml"); |
|
51 | 49 |
ArrayList<ContainerObjects> files = new ArrayList<ContainerObjects>(); |
52 | 50 |
|
53 | 51 |
|
... | ... | |
108 | 106 |
HttpResponse resp = null; |
109 | 107 |
CustomHttpClient httpclient = new CustomHttpClient(context); |
110 | 108 |
HttpDelete deleteObject = new HttpDelete(Account.getAccount().getStorageUrl() + "/" + Container + "/" + Object); |
111 |
Log.v(LOG, "the container (deleteObject) vairble "+Container+" "+Object); |
|
112 | 109 |
|
113 | 110 |
deleteObject.addHeader("X-Auth-Token", Account.getAccount().getAuthToken()); |
114 | 111 |
httpclient.removeRequestInterceptorByClass(RequestExpectContinue.class); |
Also available in: Unified diff