Revision cc0120ab src/gr/grnet/pithos/web/client/rest/RestRequestCallback.java
b/src/gr/grnet/pithos/web/client/rest/RestRequestCallback.java | ||
---|---|---|
38 | 38 |
import com.google.gwt.http.client.Request; |
39 | 39 |
import com.google.gwt.http.client.RequestCallback; |
40 | 40 |
import com.google.gwt.http.client.Response; |
41 |
import gr.grnet.pithos.web.client.foldertree.Resource;
|
|
41 |
import gr.grnet.pithos.web.client.Resource; |
|
42 | 42 |
|
43 | 43 |
public abstract class RestRequestCallback<T extends Resource> implements RequestCallback { |
44 | 44 |
|
... | ... | |
78 | 78 |
} |
79 | 79 |
catch (Exception e) {} |
80 | 80 |
|
81 |
System.out.println("Response headers: " + response.getHeadersAsString()); |
|
82 |
|
|
81 | 83 |
onError(request, new RestException(path, response.getStatusCode(), statusText, text)); |
82 | 84 |
} |
83 | 85 |
} catch (Exception e) { |
Also available in: Unified diff