com.caucho.server.webapp
Class RewriteRealPath.Rewrite

java.lang.Object
  extended by com.caucho.server.webapp.RewriteRealPath.Rewrite
Enclosing class:
RewriteRealPath

public static class RewriteRealPath.Rewrite
extends java.lang.Object


Constructor Summary
RewriteRealPath.Rewrite()
           
 
Method Summary
 void init()
          Init
 java.lang.String rewrite(java.lang.String uri)
           
 void setRegexp(java.lang.String regexp)
          Sets the regular expression.
 void setReplacement(java.lang.String replacement)
          Sets the target.
 java.lang.String toRealPath(java.lang.String uri)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RewriteRealPath.Rewrite

public RewriteRealPath.Rewrite()
Method Detail

setRegexp

public void setRegexp(java.lang.String regexp)
Sets the regular expression.


setReplacement

public void setReplacement(java.lang.String replacement)
Sets the target.


init

@PostConstruct
public void init()
          throws ConfigException
Init

Throws:
ConfigException

rewrite

public java.lang.String rewrite(java.lang.String uri)

toRealPath

public java.lang.String toRealPath(java.lang.String uri)