public void onError(Request request, Throwable exception) {
callback.onError(resourceUrl, exception);
}
private void onSuccess(Request request, Response response) {
SVGParserImpl impl = GWT.create(SVGParserImpl.class);
Element root = impl.parse(response.getText());
callback.onSuccess(resourceUrl, root);
}
public void onResponseReceived(Request request, Response response) {
if (response.getStatusCode() == Response.SC_OK) {