Class ClamEventsServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- org.apache.sling.clam.http.internal.ClamEventsServlet
-
- All Implemented Interfaces:
java.io.Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig,JcrPropertyScanResultHandler
public class ClamEventsServlet extends javax.servlet.http.HttpServlet implements JcrPropertyScanResultHandler
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClamEventsServlet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)voidhandleJcrPropertyScanResult(@NotNull org.apache.sling.commons.clam.ScanResult scanResult, @NotNull java.lang.String path, int index, int propertyType, @Nullable java.lang.String userId)voidhandleJcrPropertyScanResult(@NotNull org.apache.sling.commons.clam.ScanResult scanResult, @NotNull java.lang.String path, int propertyType, @Nullable java.lang.String userId)-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
-
-
-
-
Method Detail
-
doGet
protected void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException- Overrides:
doGetin classjavax.servlet.http.HttpServlet- Throws:
javax.servlet.ServletExceptionjava.io.IOException
-
handleJcrPropertyScanResult
public void handleJcrPropertyScanResult(@NotNull @NotNull org.apache.sling.commons.clam.ScanResult scanResult, @NotNull @NotNull java.lang.String path, int propertyType, @Nullable @Nullable java.lang.String userId)- Specified by:
handleJcrPropertyScanResultin interfaceJcrPropertyScanResultHandler- Parameters:
scanResult- The scan result from Clam servicepath- The path of the scanned single-value propertypropertyType- The type of the scanned propertyuserId- The id of the user who added or changed the property
-
handleJcrPropertyScanResult
public void handleJcrPropertyScanResult(@NotNull @NotNull org.apache.sling.commons.clam.ScanResult scanResult, @NotNull @NotNull java.lang.String path, int index, int propertyType, @Nullable @Nullable java.lang.String userId)- Specified by:
handleJcrPropertyScanResultin interfaceJcrPropertyScanResultHandler- Parameters:
scanResult- The scan result from Clam servicepath- The path of the scanned multi-value propertyindex- The index of the scanned property valuepropertyType- The type of the scanned propertyuserId- The id of the user who added or changed the property
-
-