org.exoplatform.services.wsrp.consumer
Interface URLRewriter

All Known Implementing Classes:
URLRewriterImpl

public interface URLRewriter

This interface provides a method performing Consumer URLRewriting.

Author:
Stefan Behl, Benjamin Mestrallet

Method Summary
 java.lang.String rewriteURLs(java.lang.String baseURL, java.lang.String markup)
          Parses the entire markup and rewrites all found URLs.
 

Method Detail

rewriteURLs

java.lang.String rewriteURLs(java.lang.String baseURL,
                             java.lang.String markup)
                             throws WSRPException
Parses the entire markup and rewrites all found URLs. The URLs to be rewritten are enclosed by the tokens "wsrp-rewrite" and "/wsrp-rewrite".

Throws:
WSRPException


Copyright © 2011 eXo Platform SAS. All Rights Reserved.