Created
March 7, 2013 12:36
-
-
Save cqtips/5107748 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.List; | |
import org.apache.felix.scr.annotations.Component; | |
import org.apache.felix.scr.annotations.Service; | |
import org.apache.sling.api.SlingHttpServletRequest; | |
import org.apache.sling.servlets.post.Modification; | |
import org.apache.sling.servlets.post.SlingPostProcessor; | |
@Component(metatype = false, immediate = true) | |
@Service | |
public class SamplePostProcessor implements SlingPostProcessor { | |
@Override | |
public void process(SlingHttpServletRequest request, List<Modification> modificationList) throws Exception { | |
// POST servlet had already made its changes but the session hasn't been commited yet | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment