public abstract class AbstractGetAclServlet extends SlingAllMethodsServlet
| Constructor and Description |
|---|
AbstractGetAclServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doGet(SlingHttpServletRequest request,
SlingHttpServletResponse response)
Called by the
SlingSafeMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse) method to
handle an HTTP GET request. |
protected abstract javax.jcr.security.AccessControlEntry[] |
getAccessControlEntries(javax.jcr.Session session,
String absPath) |
protected JSONObject |
internalGetAcl(javax.jcr.Session jcrSession,
String resourcePath) |
doDelete, doPost, doPut, getAllowedRequestMethods, isMethodValid, mayServicedoGeneric, doHead, doOptions, doTrace, getServletInfo, handleMethodNotImplemented, service, serviceprotected void doGet(SlingHttpServletRequest request, SlingHttpServletResponse response) throws javax.servlet.ServletException, IOException
SlingSafeMethodsServletSlingSafeMethodsServlet.mayService(SlingHttpServletRequest, SlingHttpServletResponse) method to
handle an HTTP GET request.
This default implementation reports back to the client that the method is not supported.
Implementations of this class should overwrite this method with their implementation for the HTTP GET method support.
doGet in class SlingSafeMethodsServletrequest - The HTTP requestresponse - The HTTP responsejavax.servlet.ServletException - Not thrown by this implementation.IOException - If the error status cannot be reported back to the
client.protected JSONObject internalGetAcl(javax.jcr.Session jcrSession, String resourcePath) throws javax.jcr.RepositoryException, JSONException
javax.jcr.RepositoryExceptionJSONExceptionprotected abstract javax.jcr.security.AccessControlEntry[] getAccessControlEntries(javax.jcr.Session session,
String absPath)
throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionCopyright © 2015 The Apache Software Foundation. All rights reserved.