[ https://issues.apache.org/jira/browse/SLING-352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger resolved SLING-352. ------------------------------------- Resolution: Fixed Thanks for providing the patch. I have applied it slightly modified in Rev. 647695 Modifications: * SlingServletResolverServlet renamed to OptingServlet and extending Servlet Reason: The original name implied a different action (to me) and I think if something is called "..Servlet" it shoudl be a Servlet * SlingSafeMethodsServlet is not an OptingServlet Reason: The SlingSafeMethodsServlet and SlingAllMethodsServlet are not opting servlets. They handle each request. Therefore I think, these servlets should not be an OptingServlet * Mock objects in the servlet-resolver module moved to their own package Reason: Just to clean up the original package to not "hide" the actual Test case. If this is ok for you, please close the issue. Thanks. > Allow Servlets to pass on a request > ----------------------------------- > > Key: SLING-352 > URL: https://issues.apache.org/jira/browse/SLING-352 > Project: Sling > Issue Type: New Feature > Components: API, ServletResolver > Reporter: Vidar S. Ramdal > Assignee: Felix Meschberger > Fix For: 2.0.0 > > Attachments: ServletResolver.patch > > > A Servlet should be allowed to ignore a request, thus passing it to other > Sling servlets. > Currently, this is not possible, as a servlet cannot examine a request before > handling it. > See > http://sling.markmail.org/search/?q=Servlet%20registration%20acrobatics#query:Servlet%20registration%20acrobatics+page:1+mid:zmuededrlya4hqjq+state:results -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.