org.exoplatform.services.wsrp.consumer.impl
Class URLGeneratorImpl

java.lang.Object
  extended by org.exoplatform.services.wsrp.consumer.impl.URLGeneratorImpl
All Implemented Interfaces:
URLGenerator

public class URLGeneratorImpl
extends java.lang.Object
implements URLGenerator


Constructor Summary
URLGeneratorImpl()
           
 
Method Summary
 java.lang.String getBlockingActionURL(java.lang.String baseURL, java.util.Map<java.lang.String,java.lang.String> params)
          Creates a URL pointing to the consumer,triggering a performBlockingInteraction call.
 java.lang.String getNamespacedToken(java.lang.String token)
          Creates a 'url' that the consumer can use to namespace tokens.
 java.lang.String getRenderURL(java.lang.String baseURL, java.util.Map<java.lang.String,java.lang.String> params)
          Creates a URL pointing to the consumer,triggering a getMarkup call.
 java.lang.String getResourceURL(java.lang.String baseURL, java.util.Map<java.lang.String,java.lang.String> params)
          Creates a URL pointing to the consumer,triggering the consumer to fetch a certain resource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLGeneratorImpl

public URLGeneratorImpl()
Method Detail

getBlockingActionURL

public java.lang.String getBlockingActionURL(java.lang.String baseURL,
                                             java.util.Map<java.lang.String,java.lang.String> params)
Description copied from interface: URLGenerator
Creates a URL pointing to the consumer,triggering a performBlockingInteraction call.

Specified by:
getBlockingActionURL in interface URLGenerator

getRenderURL

public java.lang.String getRenderURL(java.lang.String baseURL,
                                     java.util.Map<java.lang.String,java.lang.String> params)
Description copied from interface: URLGenerator
Creates a URL pointing to the consumer,triggering a getMarkup call.

Specified by:
getRenderURL in interface URLGenerator

getResourceURL

public java.lang.String getResourceURL(java.lang.String baseURL,
                                       java.util.Map<java.lang.String,java.lang.String> params)
Description copied from interface: URLGenerator
Creates a URL pointing to the consumer,triggering the consumer to fetch a certain resource

Specified by:
getResourceURL in interface URLGenerator

getNamespacedToken

public java.lang.String getNamespacedToken(java.lang.String token)
Description copied from interface: URLGenerator
Creates a 'url' that the consumer can use to namespace tokens.

Specified by:
getNamespacedToken in interface URLGenerator


Copyright © 2011 eXo Platform SAS. All Rights Reserved.