| java.lang.Object com.ivata.mask.web.RewriteHandling
RewriteHandling | final public class RewriteHandling (Code) | | This class contains methods to convert the URL and context path for use
with URL rewriting features of a web server such as Apache.
since: ivata groupware 0.6.1 (2005-04-28) author: Colin MacLeod author: colin.macleod@ivata.com version: $Revision: 1.5 $ |
getEnvironmentContext | public static Context getEnvironmentContext()(Code) | | Helper to get the current environment context.
environment context. |
getRewriteContextPath | public static String getRewriteContextPath()(Code) | | Get the new request context path.
the request context to replace the current one with. |
getRewriteServer | public static String getRewriteServer()(Code) | | Get the server to use in the base tag.
the server to write out to the base tag. |
rewriteURL | public static String rewriteURL(String oldURL, String oldContextPath)(Code) | | Helper to avoid repetition in rewrite and link tags.
Parameters: oldURL - the URL generted by TagUTils . Parameters: oldContextPath - the old context path. new url with the server and context path replaced. |
|
|