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