01: /*
02: * GWT-Ext Widget Library
03: * Copyright(c) 2007-2008, GWT-Ext.
04: * licensing@gwt-ext.com
05: *
06: * http://www.gwt-ext.com/license
07: */
08:
09: package com.gwtext.client.core;
10:
11: /**
12: * Callback interface used in various methods of {@link com.gwtext.client.core.UpdateManager}.
13: *
14: * @see com.gwtext.client.core.UpdateManager#formUpdate(String, String, boolean, UrlLoadCallback)
15: * @see com.gwtext.client.core.UpdateManager#update(String, UrlLoadConfig , UrlLoadCallback, boolean)
16: */
17: public interface UrlLoadCallback {
18:
19: /**
20: * The callback method.
21: *
22: * @param success true if request is successful
23: * @param httpStatus the http status code
24: * @param responseText thre response text
25: */
26: void execute(boolean success, int httpStatus, String responseText);
27: }
|