public class RewriteRealPath
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
RewriteRealPath.RealPath |
static class |
RewriteRealPath.Rewrite |
Constructor and Description |
---|
RewriteRealPath(Path appDir) |
Modifier and Type | Method and Description |
---|---|
void |
addPathPattern(java.lang.String urlPattern,
java.lang.String realPath)
Adds a path pattern.
|
void |
addPathRegexp(java.lang.String urlRegexp,
java.lang.String realPath)
Adds a path pattern.
|
void |
addRealPath(RewriteRealPath.RealPath realPath)
Adds a real-path.
|
void |
addRewrite(RewriteRealPath.Rewrite rewrite)
Adds a rewrite
|
java.lang.String |
mapToRealPath(java.lang.String uri)
Maps the path.
|
public RewriteRealPath(Path appDir)
public void addRewrite(RewriteRealPath.Rewrite rewrite)
public void addRealPath(RewriteRealPath.RealPath realPath)
public void addPathPattern(java.lang.String urlPattern, java.lang.String realPath)
public void addPathRegexp(java.lang.String urlRegexp, java.lang.String realPath)
public java.lang.String mapToRealPath(java.lang.String uri)