1 package org.exoplatform.services.wsrp.consumer;2 3 import org.exoplatform.services.wsrp.exceptions.WSRPException;4 5 /**6 * <p>This interface provides a method performing Consumer URLRewriting.</p>7 *8 * @author <a HREF="mailto:stefan.behl@de.ibm.com">Stefan Behl</a>9 * @author Benjamin Mestrallet10 */11 public interface URLRewriter {12 13 /**14 * Parses the entire markup and rewrites all found URLs. The URLs to be15 * rewritten are enclosed by the tokens "wsrp-rewrite" and "/wsrp-rewrite".16 */17 public String rewriteURLs(String baseURL, String markup) throws WSRPException;18 19 }20