public interface

ResourceCallback

com.google.gwt.resources.client.ResourceCallback<R extends com.google.gwt.resources.client.ResourcePrototype>
Known Indirect Subclasses

Class Overview

A callback interface for asynchronous operations on resources.

Summary

Public Methods
abstract void onError(ResourceException e)
Invoked if the asynchronous operation failed.
abstract void onSuccess(R resource)
Invoked if the asynchronous operation was successfully completed.

Public Methods

public abstract void onError (ResourceException e)

Invoked if the asynchronous operation failed.

Parameters
e an exception describing the failure

public abstract void onSuccess (R resource)

Invoked if the asynchronous operation was successfully completed.

Parameters
resource the resource on which the operation was performed