org.apache.shindig.gadgets.uri
Interface ConcatUriManager.Versioner

Enclosing interface:
ConcatUriManager

public static interface ConcatUriManager.Versioner


Method Summary
 UriStatus validate(List<Uri> resourceUris, String container, String value)
          Validate the version of the resource list.
 List<String> version(List<List<Uri>> resourceUris, String container)
          Generates a version for each of the provided resources.
 

Method Detail

version

List<String> version(List<List<Uri>> resourceUris,
                     String container)
Generates a version for each of the provided resources.

Parameters:
resourceUris - List of resource "batches" to version.
container - Container making the request
Returns:
Index-correlated list of version strings, one per input.

validate

UriStatus validate(List<Uri> resourceUris,
                   String container,
                   String value)
Validate the version of the resource list.

Parameters:
resourceUris - Uris of a proxied resource
container - Container requesting the resource
value - Version value to validate.
Returns:
Status of the version.


Copyright © 2007-2012. All Rights Reserved.