Konrad Windszus created SLING-5907:
--------------------------------------

             Summary: RequestDispatcherOptions: Provide possibility to 
overwrite the extension
                 Key: SLING-5907
                 URL: https://issues.apache.org/jira/browse/SLING-5907
             Project: Sling
          Issue Type: Improvement
    Affects Versions: API 2.14.0, Engine 2.4.6
            Reporter: Konrad Windszus


In some cases (e.g. for errorhandling) it might be useful to dispatch to 
another resource while using another extension than the one from the original 
request url (to trigger a different script).
The {{RequestDispatcherOptions}} class already provides methods for modifying 
the suffix and selectors but not for modifying the extension.
There should be a method {{setReplaceExtension(String)}} which allows for 
overwriting the extension (or adding one, if there was none in the original 
request).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to