@ProviderType @Model(adaptables=org.apache.sling.api.resource.Resource.class) public class RedirectMapModel extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
MAP_FILE_NODE |
| Constructor and Description |
|---|
RedirectMapModel() |
| Modifier and Type | Method and Description |
|---|---|
List<MapEntry> |
getEntries(long id) |
List<MapEntry> |
getInvalidEntries()
Get all of the entries from the cq:Pages and dam:Assets which contain
whitespace in their vanity URL.
|
String |
getRedirectMap()
Get the contents of the RedirectMap as a String
|
public static final String MAP_FILE_NODE
public List<MapEntry> getEntries(long id) throws IOException
IOExceptionpublic List<MapEntry> getInvalidEntries() throws IOException
IOExceptionpublic String getRedirectMap() throws IOException
IOExceptionCopyright © 2013–2020 Adobe. All rights reserved.