| java.lang.Object uk.org.ponder.rsf.viewstate.URLRewriter
URLRewriter | public class URLRewriter (Code) | | author: Antranig Basman (antranig@caret.cam.ac.uk) A URL rewriter for author: "resource" URLs (i.e. those which lead outside the RSF system). |
Field Summary | |
final public static String | CONTEXT_PREFIX URLs with this prefix will be rewritten to be relative to the "context
resource root" for this application. |
CONTEXT_PREFIX | final public static String CONTEXT_PREFIX(Code) | | URLs with this prefix will be rewritten to be relative to the "context
resource root" for this application. In a Webapp environment e.g., this
will be the directory one level above WEB-INF/
|
isContextURL | public static boolean isContextURL(String path)(Code) | | |
rewriteResourceURL | public String rewriteResourceURL(String path, String resourcebase)(Code) | | relpath has leading slash removed.
|
|
|