Class RewriteInterceptor.Mapping
java.lang.Object
com.predic8.membrane.core.interceptor.rewrite.RewriteInterceptor.Mapping
- Enclosing class:
- RewriteInterceptor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
to
-
from
-
-
Constructor Details
-
Mapping
public Mapping() -
Mapping
-
-
Method Details
-
matches
-
getFrom
-
setFrom
- Description
- Java Regular expression
- Example
- ^/bank/(.*)
-
getTo
-
setTo
- Description
- Replacement string. Can contain references to matching groups.
- Example
- /axis2/$1
-
getDo
-
setDo
- Default
- rewrite (default) or redirect (if "to" contains "://")
- Description
- What to do: "rewrite", "redirect-temporary" or "redirect-permanent".
- Example
- redirect-temporary
-