| com.gwtext.client.data.DataProxy com.gwtext.client.data.HttpProxy
HttpProxy | public class HttpProxy extends DataProxy (Code) | | An implementation of
DataProxy that reads a data object from the specified URL.
Note that this class cannot be used to retrieve data from a domain other than the domain from which the
running page was served.
For cross-domain access to remote data, use an
ScriptTagProxy .
Be aware that to enable the browser to parse an XML document, the server must set the Content-Type header in the
HTTP response to "text/xml".
author: Sanjiv Jivan See Also: com.gwtext.client.data.ScriptTagProxy since: 0.9 |
Method Summary | |
public Connection | getConnection() Return the Connection object being used by this Proxy.
the Connection object. |
HttpProxy | public HttpProxy(String url)(Code) | | Construct a new HttpProxy to the specified URL
Parameters: url - data url, defaults to POST |
HttpProxy | public HttpProxy(Connection conn)(Code) | | Construct a new HttpProxy using the specified Connection.
Parameters: conn - connection to use to make the http call |
getConnection | public Connection getConnection()(Code) | | Return the Connection object being used by this Proxy.
the Connection object. This object may be used to subscribe to events on a finer-grained basis. |
|
|