Package com.adobe.acs.commons.wcm.vanity
Interface VanityURLService
-
@ProviderType public interface VanityURLService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleandispatch(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 Detail
-
dispatch
boolean dispatch(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response) throws javax.servlet.ServletException, IOException, javax.jcr.RepositoryExceptionThis 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 objectresponse- the response object- Returns:
- true if this request is dispatched because it's a valid Vanity path, else false.
- Throws:
javax.servlet.ServletExceptionIOExceptionjavax.jcr.RepositoryException
-
-