RequestBuilder rb = new RequestBuilder(RequestBuilder.GET, spf);
rb.sendRequest(null, new RequestCallback() {
@Override
public void onResponseReceived(Request request, Response response) {
try {
SPFPlaylist spf = PlaylistFactory.parseJspfPlaylist(response.getText());
entries = spf.toPlaylist();
refreshView();
} catch (ParseException ex) {
GWT.log("Parse Exception", ex);
}
}