You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2023/04/14 07:48:00 UTC

[jira] [Resolved] (SLING-2596) add an extension point to the Sling Post Servlet which makes it easy to add new suffixes

     [ https://issues.apache.org/jira/browse/SLING-2596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler resolved SLING-2596.
-------------------------------------
    Resolution: Won't Fix

> 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
>            Priority: Major
>
> 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 was sent by Atlassian Jira
(v8.20.10#820010)