public abstract class TrailingSlash extends Object implements Rule
Rule that creates a bi-directional rewrite rule handling appending or removal of
the trailing slash character in paths.| Constructor and Description |
|---|
TrailingSlash() |
| Modifier and Type | Method and Description |
|---|---|
static TrailingSlash |
append()
Return a new
TrailingSlash instance that will append trailing slashes from all matching request and
rendered output URLs, if necessary. |
String |
getId() |
static TrailingSlash |
remove()
Return a new
TrailingSlash instance that will remove trailing slashes from all matching request and
rendered output URLs, if necessary. |
TrailingSlash |
withId(String id)
Set the ID of this
TrailingSlash. |
public static TrailingSlash remove()
TrailingSlash instance that will remove trailing slashes from all matching request and
rendered output URLs, if necessary.public static TrailingSlash append()
TrailingSlash instance that will append trailing slashes from all matching request and
rendered output URLs, if necessary.public TrailingSlash withId(String id)
TrailingSlash.Copyright © 2013 OCPsoft. All Rights Reserved.