Uses of Class
org.apache.shindig.gadgets.GadgetException

Packages that use GadgetException
org.apache.shindig.gadgets   
org.apache.shindig.gadgets.features   
org.apache.shindig.gadgets.http   
org.apache.shindig.gadgets.oauth   
org.apache.shindig.gadgets.parse   
org.apache.shindig.gadgets.parse.caja   
org.apache.shindig.gadgets.parse.nekohtml   
org.apache.shindig.gadgets.preload   
org.apache.shindig.gadgets.render   
org.apache.shindig.gadgets.servlet   
org.apache.shindig.gadgets.spec   
org.apache.shindig.gadgets.templates   
org.apache.shindig.gadgets.uri   
org.apache.shindig.gadgets.variables   
 

Uses of GadgetException in org.apache.shindig.gadgets
 

Subclasses of GadgetException in org.apache.shindig.gadgets
protected static class AbstractSpecFactory.SpecRetrievalFailedException
           
 class UnsupportedFeatureException
          Thrown whenever GadgetFeatureRegistry gets a request for a feature that is not registered.
 

Methods in org.apache.shindig.gadgets that throw GadgetException
protected  T AbstractSpecFactory.fetchFromNetwork(AbstractSpecFactory.Query query)
          Retrieves a spec from the network, parses, and adds it to the cache.
 MessageBundle MessageBundleFactory.getBundle(GadgetSpec spec, Locale locale, boolean ignoreCache, String container)
          Retrieves a messagMessageBundle for the provided GadgetSpec and Locale.
 MessageBundle DefaultMessageBundleFactory.getBundle(GadgetSpec spec, Locale locale, boolean ignoreCache, String container)
           
 GadgetSpec GadgetSpecFactory.getGadgetSpec(GadgetContext context)
          Return a gadget spec for a context
 GadgetSpec DefaultGadgetSpecFactory.getGadgetSpec(GadgetContext context)
           
protected  T AbstractSpecFactory.getSpec(AbstractSpecFactory.Query query)
          Attempt to fetch a spec, either from cache or from the network.
protected  MessageBundle DefaultMessageBundleFactory.parse(String content, AbstractSpecFactory.Query query)
           
protected  GadgetSpec DefaultGadgetSpecFactory.parse(String content, AbstractSpecFactory.Query query)
           
protected abstract  T AbstractSpecFactory.parse(String content, AbstractSpecFactory.Query query)
          Parse and return a new spec object from the network.
 org.json.JSONObject FeedProcessor.process(String feedUrl, String feedXml, boolean getSummaries, int numEntries)
          Converts feed XML to JSON.
 

Uses of GadgetException in org.apache.shindig.gadgets.features
 

Methods in org.apache.shindig.gadgets.features that throw GadgetException
 FeatureResource FeatureResourceLoader.load(Uri uri, Map<String,String> attribs)
          Primary, and only public, method of FeatureResourceLoader.
 FeatureResource BrowserSpecificFeatureResource.Loader.load(Uri uri, Map<String,String> attribs)
           
protected  void FeatureRegistry.loadFeature(Uri parent, String xml, Map<String,org.apache.shindig.gadgets.features.FeatureRegistry.FeatureNode> featureMapBuilder)
          Method that loads gadget features.
protected  com.google.common.collect.ImmutableMap<String,org.apache.shindig.gadgets.features.FeatureRegistry.FeatureNode> FeatureRegistry.register(List<String> resourceList)
          Reads and registers all of the features in the directory, or the file, specified by the given resourceKey.
 

Constructors in org.apache.shindig.gadgets.features that throw GadgetException
FeatureRegistry(FeatureResourceLoader resourceLoader, List<String> features)
           
 

Uses of GadgetException in org.apache.shindig.gadgets.http
 

Methods in org.apache.shindig.gadgets.http that throw GadgetException
 HttpResponse RequestPipeline.execute(HttpRequest request)
          Execute the given request.
 HttpResponse DefaultRequestPipeline.execute(HttpRequest request)
           
 HttpResponse HttpFetcher.fetch(HttpRequest request)
          Fetch HTTP content.
 HttpResponse BasicHttpFetcher.fetch(HttpRequest request)
           
protected  void DefaultRequestPipeline.normalizeProtocol(HttpRequest request)
           
 

Uses of GadgetException in org.apache.shindig.gadgets.oauth
 

Methods in org.apache.shindig.gadgets.oauth that throw GadgetException
 OAuthStore.ConsumerInfo OAuthStore.getConsumerKeyAndSecret(SecurityToken securityToken, String serviceName, net.oauth.OAuthServiceProvider provider)
          Retrieve OAuth consumer to use for requests.
 OAuthStore.ConsumerInfo BasicOAuthStore.getConsumerKeyAndSecret(SecurityToken securityToken, String serviceName, net.oauth.OAuthServiceProvider provider)
           
 OAuthStore.TokenInfo OAuthStore.getTokenInfo(SecurityToken securityToken, OAuthStore.ConsumerInfo consumerInfo, String serviceName, String tokenName)
          Retrieve OAuth access token to use for the request.
 void BasicOAuthStore.initFromConfigString(String oauthConfigStr)
           
 void OAuthStore.removeToken(SecurityToken securityToken, OAuthStore.ConsumerInfo consumerInfo, String serviceName, String tokenName)
          Remove the access token for the given user/gadget/service/token
 void OAuthStore.setTokenInfo(SecurityToken securityToken, OAuthStore.ConsumerInfo consumerInfo, String serviceName, String tokenName, OAuthStore.TokenInfo tokenInfo)
          Set the access token for the given user/gadget/service/token
 

Constructors in org.apache.shindig.gadgets.oauth that throw GadgetException
OAuthArguments(AuthType auth, javax.servlet.http.HttpServletRequest request)
          Parse OAuthArguments from parameters to the makeRequest servlet.
OAuthArguments(AuthType auth, Map<String,String> map)
          Parse OAuthArguments from a Map of settings
OAuthArguments(RequestAuthenticationInfo info)
          Parse OAuthArguments from parameters to Preload, proxied content rendering, and OSML tags.
 

Uses of GadgetException in org.apache.shindig.gadgets.parse
 

Methods in org.apache.shindig.gadgets.parse that throw GadgetException
 Document GadgetHtmlParser.parseDom(String source)
           
protected abstract  Document GadgetHtmlParser.parseDomImpl(String source)
          TODO: remove the need for parseDomImpl as a parsing method.
 void GadgetHtmlParser.parseFragment(String source, Node result)
          Parses a snippet of markup and appends the result as children to the provided node.
protected abstract  DocumentFragment GadgetHtmlParser.parseFragmentImpl(String source)
           
 

Uses of GadgetException in org.apache.shindig.gadgets.parse.caja
 

Methods in org.apache.shindig.gadgets.parse.caja that throw GadgetException
 List<Object> CajaCssLexerParser.parse(String content)
           
 com.google.caja.parser.css.CssTree.StyleSheet CajaCssParser.parseDom(String content)
          Parse CSS content into Caja's CSS DOM model
 com.google.caja.parser.css.CssTree.StyleSheet CajaCssParser.parseDom(String content, Uri source)
           
protected  Document CajaHtmlParser.parseDomImpl(String source)
           
protected  DocumentFragment CajaHtmlParser.parseFragmentImpl(String source)
           
 

Uses of GadgetException in org.apache.shindig.gadgets.parse.nekohtml
 

Methods in org.apache.shindig.gadgets.parse.nekohtml that throw GadgetException
protected  Document NekoSimplifiedHtmlParser.parseDomImpl(String source)
           
protected  DocumentFragment NekoSimplifiedHtmlParser.parseFragmentImpl(String source)
           
 

Uses of GadgetException in org.apache.shindig.gadgets.preload
 

Methods in org.apache.shindig.gadgets.preload that throw GadgetException
protected  HttpResponse PipelinedDataPreloader.executeSocialRequest(HttpRequest request)
          Hook for executing a JSON RPC fetch for social data.
static HttpRequest HttpPreloader.newHttpRequest(GadgetContext context, RequestAuthenticationInfo authenticationInfo)
           
 

Uses of GadgetException in org.apache.shindig.gadgets.render
 

Methods in org.apache.shindig.gadgets.render that throw GadgetException
protected  String RenderingGadgetRewriter.getLibraryConfig(Gadget gadget, List<String> reqs)
          Creates a set of all configuration needed to satisfy the requested feature set.
protected  void RenderingGadgetRewriter.injectFeatureLibraries(Gadget gadget, Node headTag, Node firstHeadChild)
          Injects javascript libraries needed to satisfy feature dependencies.
protected  void RenderingGadgetRewriter.injectGadgetBeacon(Gadget gadget, Node headTag, Node firstHeadChild)
           
protected  void RenderingGadgetRewriter.injectMessageBundles(MessageBundle bundle, Node scriptTag)
          Injects message bundles into the gadget output.
 ProxyUriManager.ProxyUri SanitizingProxyUriManager.process(Uri uri)
           
 String ProxyRenderer.render(Gadget gadget)
           
 

Uses of GadgetException in org.apache.shindig.gadgets.servlet
 

Methods in org.apache.shindig.gadgets.servlet with parameters of type GadgetException
static HttpResponse ServletUtil.errorResponse(GadgetException e)
           
 

Methods in org.apache.shindig.gadgets.servlet that throw GadgetException
protected  HttpRequest AccelHandler.buildHttpRequest(HttpRequest request, ProxyUriManager.ProxyUri uriToProxyOrRewrite)
          Build an HttpRequest object encapsulating the request details as requested by the user.
protected  HttpRequest MakeRequestHandler.buildHttpRequest(javax.servlet.http.HttpServletRequest request)
          Generate a remote content request based on the parameters sent from the client.
protected  String MakeRequestHandler.convertResponseToJson(SecurityToken authToken, javax.servlet.http.HttpServletRequest request, HttpResponse results)
          Format a response as JSON, including additional JSON inserted by chained content fetchers.
protected  HttpResponse AccelHandler.fetch(HttpRequest request)
           
 void MakeRequestHandler.fetch(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Executes a request, returning the response as JSON to be handled by makeRequest.
 HttpResponse ProxyHandler.fetch(ProxyUriManager.ProxyUri proxyUri)
           
 ProxyUriManager.ProxyUri AccelHandler.getProxyUri(HttpRequest httpRequest)
          Returns the proxy uri encapsulating the request uri.
protected  Object HttpRequestHandler.processFeed(HttpRequestHandler.HttpApiRequest req, String responseBody)
          Processes a feed (RSS or Atom) using FeedProcessor.
protected  void MakeRequestHandler.setPostData(javax.servlet.http.HttpServletRequest request, HttpRequest req)
          Set http request post data according to servlet request.
protected static void MakeRequestHandler.setResponseHeaders(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, HttpResponse results)
          Sets cache control headers for the response.
static void ServletUtil.setXForwardedForHeader(HttpRequest inboundRequest, HttpRequest req)
          Sets standard forwarding headers on the proxied request.
static void ServletUtil.setXForwardedForHeader(javax.servlet.http.HttpServletRequest inboundRequest, HttpRequest req)
           
protected  Object HttpRequestHandler.transformBody(HttpRequestHandler.HttpApiRequest request, HttpResponse results)
          Format a response as JSON, including additional JSON inserted by chained content fetchers.
static Uri ServletUtil.validateUrl(Uri urlToValidate)
          Validates and normalizes the given url, ensuring that it is non-null, has scheme http or https, and has a path value of some kind.
 

Uses of GadgetException in org.apache.shindig.gadgets.spec
 

Subclasses of GadgetException in org.apache.shindig.gadgets.spec
 class SpecParserException
          Exceptions for Gadget Spec parsing.
 

Uses of GadgetException in org.apache.shindig.gadgets.templates
 

Subclasses of GadgetException in org.apache.shindig.gadgets.templates
 class TemplateParserException
          Exceptions for Gadget Template parsing.
 

Methods in org.apache.shindig.gadgets.templates that throw GadgetException
 TemplateLibrary TemplateLibraryFactory.loadTemplateLibrary(GadgetContext context, Uri uri)
           
 

Constructors in org.apache.shindig.gadgets.templates that throw GadgetException
XmlTemplateLibrary(Uri uri, Element root, String source)
           
XmlTemplateLibrary(Uri uri, Element root, String source, boolean safe)
           
 

Uses of GadgetException in org.apache.shindig.gadgets.uri
 

Methods in org.apache.shindig.gadgets.uri that throw GadgetException
static void UriUtils.copyRequestData(HttpRequest origRequest, HttpRequest req)
          Copies the post data from HttpServletRequest object to HttpRequest object.
 Uri ProxyUriManager.ProxyUri.getFallbackUri()
           
protected  void DefaultJsUriManager.issueUriFormatError(String err)
           
 HttpRequest ProxyUriManager.ProxyUri.makeHttpRequest(Uri targetUri)
           
 HttpRequest ProxyUriBase.makeHttpRequest(Uri targetUri)
           
 Uri DefaultAccelUriManager.parseAndNormalize(HttpRequest httpRequest)
           
 Uri AccelUriManager.parseAndNormalize(HttpRequest httpRequest)
          Parses and normalizes the given request uri to be proxied through accel.
 ProxyUriManager.ProxyUri ProxyUriManager.process(Uri uri)
          Parse and validate the proxied Uri.
 ProxyUriManager.ProxyUri DefaultProxyUriManager.process(Uri uriIn)
           
 JsUriManager.JsUri JsUriManager.processExternJsUri(Uri uri)
          Processes the inbound URL, for use by serving code in determining which JS to serve and with what caching properties.
 JsUriManager.JsUri DefaultJsUriManager.processExternJsUri(Uri uri)
          Essentially pulls apart a Uri created by makeExternJsUri, validating its contents, especially the version key.
 Integer ProxyUriBase.translateStatusRefresh(int longVal, int defaultVal)
           
 

Uses of GadgetException in org.apache.shindig.gadgets.variables
 

Methods in org.apache.shindig.gadgets.variables that throw GadgetException
 void Substituter.addSubstitutions(Substitutions substituter, GadgetContext context, GadgetSpec spec)
          Add the substitutions from this Substituter to the Substitutions.
 void ModuleSubstituter.addSubstitutions(Substitutions substituter, GadgetContext context, GadgetSpec spec)
           
 void MessageSubstituter.addSubstitutions(Substitutions substituter, GadgetContext context, GadgetSpec spec)
           
 void BidiSubstituter.addSubstitutions(Substitutions substituter, GadgetContext context, GadgetSpec spec)
           
 GadgetSpec VariableSubstituter.substitute(GadgetContext context, GadgetSpec spec)
          Substitutes all hangman variables into the gadget spec.
 



Copyright © 2007-2012. All Rights Reserved.