Interface RedirectConfigModel


@ProviderType @Model(adaptables=org.apache.sling.api.resource.Resource.class) public interface RedirectConfigModel
Sling Model interface for each instance of the redirect config.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the domain for mapping the request
    Gets the path under which to search for items to check for the vanity property
    Gets the property to use for the vanity paths
    Gets the protocol (http or https) for mapping the request
    org.apache.sling.api.resource.Resource
    The resource for this configurations
  • Method Details

    • 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: