org.apache.shindig.gadgets.uri
Interface JsUriManager
- All Known Implementing Classes:
- DefaultJsUriManager
public interface JsUriManager
Interface defining methods used to generate Uris for the /js servlet.
makeExternJsUri
Uri makeExternJsUri(Gadget gadget,
Collection<String> extern)
- Parameters:
gadget - The gadget in which the requested JS will be externed.extern - The list of features that js is needed for.
- Returns:
- The uri for the externed javascript that includes all listed extern libraries.
processExternJsUri
JsUriManager.JsUri processExternJsUri(Uri uri)
throws GadgetException
- Processes the inbound URL, for use by serving code in determining which JS to serve
and with what caching properties.
- Parameters:
uri - Generated extern JS Uri
- Returns:
- Processed status of the provided Uri.
- Throws:
GadgetException
Copyright © 2007-2012. All Rights Reserved.