com.google.gwt.gadgets.client
Class IntrinsicFeature

java.lang.Object
  extended by com.google.gwt.gadgets.client.IntrinsicFeature
All Implemented Interfaces:
GadgetFeature

Deprecated. use GadgetsIo instead.

@Deprecated
public class IntrinsicFeature
extends java.lang.Object
implements GadgetFeature

Provides access to intrinsic APIs provided by the container that are not part of a feature-specific API.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.google.gwt.gadgets.client.GadgetFeature
GadgetFeature.FeatureName, GadgetFeature.MayRequire
 
Method Summary
 void fetchContent(java.lang.String url, ContentFetchedHandler contentFetchedHandler)
          Deprecated. use GadgetsIo.makeRequest(String, ResponseReceivedHandler) or GadgetsIo.makeRequestAsText(String, ResponseReceivedHandler) instead.
 void fetchContent(java.lang.String url, ContentFetchedHandler contentFetchedHandler, int millis)
          Deprecated. use GadgetsIo.makeRequest(String, ResponseReceivedHandler, RequestOptions) or GadgetsIo.makeRequestAsText(String, ResponseReceivedHandler, RequestOptions) instead.
 void fetchXmlContent(java.lang.String url, XmlContentFetchedHandler contentFetchedHandler)
          Deprecated. use GadgetsIo.makeRequestAsDom(String, ResponseReceivedHandler) instead.
 void fetchXmlContent(java.lang.String url, XmlContentFetchedHandler contentFetchedHandler, int millis)
          Deprecated. use GadgetsIo.makeRequestAsDom(String, ResponseReceivedHandler, RequestOptions) instead.
 java.lang.String getCachedUrl(java.lang.String url)
          Deprecated. use GadgetsIo.getProxyUrl(String) instead.
 java.lang.String getCachedUrl(java.lang.String url, int refreshIntervalSeconds)
          Deprecated. use GadgetsIo.getProxyUrl(String, int) instead.
 java.lang.String getImageUrl(java.lang.String url)
          Deprecated. use GadgetsIo.getProxyUrl(String) instead.
 java.lang.String getImageUrl(java.lang.String url, int refreshIntervalSeconds)
          Deprecated. use GadgetsIo.getProxyUrl(String, int) instead.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

fetchContent

@Deprecated
public void fetchContent(java.lang.String url,
                                    ContentFetchedHandler contentFetchedHandler)
Deprecated. use GadgetsIo.makeRequest(String, ResponseReceivedHandler) or GadgetsIo.makeRequestAsText(String, ResponseReceivedHandler) instead.

Fetches the content of the provided URL and, when complete, calls the ContentFetchedHandler.onContentFetched(ContentFetchedEvent) method with the content of the fetched URL. The fetched content is cached on the Gadget Container.


fetchContent

@Deprecated
public void fetchContent(java.lang.String url,
                                    ContentFetchedHandler contentFetchedHandler,
                                    int millis)
Deprecated. use GadgetsIo.makeRequest(String, ResponseReceivedHandler, RequestOptions) or GadgetsIo.makeRequestAsText(String, ResponseReceivedHandler, RequestOptions) instead.

Fetches the content of the provided URL and, when complete, calls the ContentFetchedHandler.onContentFetched(ContentFetchedEvent) method with the content of the fetched URL. The fetched content is cached on the Gadget Container with a specified refresh interval specified in seconds.


fetchXmlContent

@Deprecated
public void fetchXmlContent(java.lang.String url,
                                       XmlContentFetchedHandler contentFetchedHandler)
Deprecated. use GadgetsIo.makeRequestAsDom(String, ResponseReceivedHandler) instead.

Fetches the content of the provided URL and when complete calls the XmlContentFetchedHandler.onXmlContentFetched(XmlContentFetchedEvent) method with the content of the fetched URL. The content will then be parsed as XML content. The fetched content is cached on the Gadget Container.


fetchXmlContent

@Deprecated
public void fetchXmlContent(java.lang.String url,
                                       XmlContentFetchedHandler contentFetchedHandler,
                                       int millis)
Deprecated. use GadgetsIo.makeRequestAsDom(String, ResponseReceivedHandler, RequestOptions) instead.

Fetches the content of the provided URL and when complete calls the XmlContentFetchedHandler.onXmlContentFetched(XmlContentFetchedEvent) method with the content of the fetched URL. The content will then be parsed as XML content. The fetched content is cached on the Gadget Container with a specified refresh interval specified in seconds.


getCachedUrl

@Deprecated
public java.lang.String getCachedUrl(java.lang.String url)
Deprecated. use GadgetsIo.getProxyUrl(String) instead.

Returns a proxy URL that can be used to access a given URL.


getCachedUrl

@Deprecated
public java.lang.String getCachedUrl(java.lang.String url,
                                                int refreshIntervalSeconds)
Deprecated. use GadgetsIo.getProxyUrl(String, int) instead.

Returns a proxy URL that can be used to access a given URL with a specified refresh interval specified in seconds.


getImageUrl

@Deprecated
public java.lang.String getImageUrl(java.lang.String url)
Deprecated. use GadgetsIo.getProxyUrl(String) instead.

Returns a proxy URL that can be used to access the given image's URL.


getImageUrl

@Deprecated
public java.lang.String getImageUrl(java.lang.String url,
                                               int refreshIntervalSeconds)
Deprecated. use GadgetsIo.getProxyUrl(String, int) instead.

Returns a proxy URL that can be used to access a given image's URL with a specified refresh interval specified in seconds.