org.exoplatform.services.wsrp.consumer
Interface URLGenerator

All Known Implementing Classes:
URLGeneratorImpl

public interface URLGenerator

This interface provides methods to query the consumer's urls. These methods could be used to implement consumer url rewriting.

Author:
Stefan Behl, Benjamin Mestrallet

Method Summary
 String getBlockingActionURL(String baseURL, Map<String,String> params)
          Creates a URL pointing to the consumer,triggering a performBlockingInteraction call.
 String getNamespacedToken(String token)
          Creates a 'url' that the consumer can use to namespace tokens.
 String getRenderURL(String baseURL, Map<String,String> params)
          Creates a URL pointing to the consumer,triggering a getMarkup call.
 String getResourceURL(String baseURL, Map<String,String> params)
          Creates a URL pointing to the consumer,triggering the consumer to fetch a certain resource
 

Method Detail

getBlockingActionURL

String getBlockingActionURL(String baseURL,
                            Map<String,String> params)
Creates a URL pointing to the consumer,triggering a performBlockingInteraction call.


getRenderURL

String getRenderURL(String baseURL,
                    Map<String,String> params)
Creates a URL pointing to the consumer,triggering a getMarkup call.


getResourceURL

String getResourceURL(String baseURL,
                      Map<String,String> params)
Creates a URL pointing to the consumer,triggering the consumer to fetch a certain resource


getNamespacedToken

String getNamespacedToken(String token)
Creates a 'url' that the consumer can use to namespace tokens.



Copyright © 2009 eXo Platform SAS. All Rights Reserved.