package gr.grnet.pithos.web.client.rest;
-import gr.grnet.pithos.web.client.Pithos;
import gr.grnet.pithos.web.client.Resource;
import java.util.HashMap;
protected static final int MAX_RETRIES = 3;
- private final Pithos app;
-
protected int retries = 0;
private String api;
public abstract void onError(Throwable t);
- public DeleteRequest(Pithos app, String api, String owner, String path) {
- this.app = app;
+ public DeleteRequest(String api, String owner, String path) {
this.api = api;
this.owner = owner;
this.path = path;
@Override
public Resource deserialize(Response response) {
- return Resource.createFromResponse(app, Resource.class, owner, response, null);
+ return Resource.createFromResponse(Resource.class, owner, response, null);
}
@Override