[ 
https://issues.apache.org/jira/browse/SLING-2596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13456905#comment-13456905
 ] 

Felix Meschberger commented on SLING-2596:
------------------------------------------

What would that be used for ?
                
> add an extension point to the Sling Post Servlet which makes it easy to add 
> new suffixes
> ----------------------------------------------------------------------------------------
>
>                 Key: SLING-2596
>                 URL: https://issues.apache.org/jira/browse/SLING-2596
>             Project: Sling
>          Issue Type: New Feature
>          Components: Servlets
>            Reporter: Justin Edelson
>
> Writing a SlingPostProcessor to handle an @Foo -style property is too hard... 
> we should make it easier.
> Something like:
> @Component
> @Service
> @Property(name="suffix", value="My")
> public class MySuffixHandler implements PostSuffixHandler {
>    void handle(RequestProperty prop, Map<String, RequestProperty> 
> allProperties) {
>       // TODO - recalculate the property values
>    }
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to