Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-7619

Redirect Servlet - consolidate configuration

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Servlets Get 2.1.32
    • Servlets
    • None

    Description

      Currently the Redirect Servlet handles a GET for a node with a sling:resourceType of sling:redirect and a .json extension like generic GET request however it does it separately from the the DefaultGetServlets implementation. This then requires a separate configuration for the JSONRendererServlet.

      This modifies the RedirectServlet so that a request it receives with the .json extension is handed off to the DefaultGetServlet for completion. This centralizes the configuration for the json renderer.

      Attachments

        Activity

          People

            jebailey Jason E Bailey
            jebailey Jason E Bailey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: