Interface RedirectConfigModel
-
@ProviderType @Model(adaptables=org.apache.sling.api.resource.Resource.class) public interface RedirectConfigModelSling Model interface for each instance of the redirect config.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDomain()Gets the domain for mapping the requestStringgetPath()Gets the path under which to search for items to check for the vanity propertyStringgetProperty()Gets the property to use for the vanity pathsStringgetProtocol()Gets the protocol (http or https) for mapping the requestorg.apache.sling.api.resource.ResourcegetResource()The resource for this configurations
-
-
-
Method Detail
-
getDomain
@Inject String getDomain()
Gets the domain for mapping the request- Returns:
-
getPath
@Inject String getPath()
Gets the path under which to search for items to check for the vanity property- Returns:
-
getProperty
@Inject String getProperty()
Gets the property to use for the vanity paths- Returns:
-
getProtocol
@Inject String getProtocol()
Gets the protocol (http or https) for mapping the request- Returns:
-
getResource
org.apache.sling.api.resource.Resource getResource()
The resource for this configurations- Returns:
-
-