Interface VanityURLService


@ProviderType public interface VanityURLService
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    dispatch(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response)
    This method checks if a given request URI (after performing the Resource Resolver Mapping) is a valid vanity URL, if true it will perform the FORWARD using Request Dispatcher.
  • Method Details

    • dispatch

      boolean dispatch(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response) throws javax.servlet.ServletException, IOException, javax.jcr.RepositoryException
      This method checks if a given request URI (after performing the Resource Resolver Mapping) is a valid vanity URL, if true it will perform the FORWARD using Request Dispatcher.
      Parameters:
      request - the request object
      response - the response object
      Returns:
      true if this request is dispatched because it's a valid Vanity path, else false.
      Throws:
      javax.servlet.ServletException
      IOException
      javax.jcr.RepositoryException