public static class Configuration.UrlRewriteRule extends Object
A type containing various options for debugging.
Constructor and Description |
---|
UrlRewriteRule() |
Modifier and Type | Method and Description |
---|---|
Configuration.UrlRewriteRule |
setPattern(String pattern)
The regular expression pattern which is matched against each URL.
|
Configuration.UrlRewriteRule |
setSubstitution(String substitution)
If a URL matches the
Configuration.UrlRewriteRule.setPattern(String) , it is replaced by this
substitution. |
public Configuration.UrlRewriteRule setPattern(String pattern)
The regular expression pattern which is matched against each URL.
Note that the URLs are always absolute. If they are initially relative in the document or other resources, they are resolved.
Configuration.UrlRewriteRule
instance.public Configuration.UrlRewriteRule setSubstitution(String substitution)
If a URL matches the Configuration.UrlRewriteRule.setPattern(String)
, it is replaced by this
substitution. Since the pattern is a regular expression, the substitution can
include group identifiers or back references.
Configuration.UrlRewriteRule
instance.This doc was generated on 2023-09-21. Copyright © 2002-2023 RealObjects GmbH. All Rights Reserved.