public class RewriteContext extends Object
Constructor and Description |
---|
RewriteContext(String path,
Mount mount,
boolean canonical,
boolean navigationStateful) |
Modifier and Type | Method and Description |
---|---|
Mount |
getMount() |
String |
getPath() |
boolean |
isCanonical() |
boolean |
isNavigationStateful() |
String |
toString() |
public RewriteContext(String path, Mount mount, boolean canonical, boolean navigationStateful) throws RewriteContextException
path
- the path to use for link creation, not allowed to be null
mount
- the Mount
to use for link creation,
not allowed to be null
canonical
- true
when the link should be canonicalnavigationStateful
- true
when the link should be navigationStatefulRewriteContextException
- if path
or mount
is nullpublic String getPath()
public Mount getMount()
public boolean isCanonical()
true
when a canonical link should be createdpublic boolean isNavigationStateful()
true
when the link must be navigationStatefulCopyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.