Class RewriteMapServlet

java.lang.Object
javax.servlet.GenericServlet
org.apache.sling.api.servlets.SlingSafeMethodsServlet
com.adobe.acs.commons.redirects.servlets.RewriteMapServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class RewriteMapServlet extends org.apache.sling.api.servlets.SlingSafeMethodsServlet
Servlet for generating an Apache RewriteMap text file to use with he Pipeline-free URL Redirects feature in AEM as a Cloud Service Usage: http://localhost:4502/conf/my-site/settings/redirects.txt To filter by status code: http://localhost:4502/conf/my-site/settings/redirects.301.txt See https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/implementing/content-delivery/pipeline-free-url-redirects
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    doGet(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response)
     

    Methods inherited from class org.apache.sling.api.servlets.SlingSafeMethodsServlet

    doGeneric, doHead, doOptions, doTrace, getAllowedRequestMethods, getServletInfo, handleMethodNotImplemented, mayService, service, service

    Methods inherited from class javax.servlet.GenericServlet

    destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, init, log, log

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RewriteMapServlet

      public RewriteMapServlet()
  • Method Details

    • doGet

      protected void doGet(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response) throws javax.servlet.ServletException, IOException
      Overrides:
      doGet in class org.apache.sling.api.servlets.SlingSafeMethodsServlet
      Throws:
      javax.servlet.ServletException
      IOException