public abstract class AbstractComponentServlet extends AbstractJsonResponseServlet
DEFAULT_DATE_FORMAT
Constructor and Description |
---|
AbstractComponentServlet() |
Modifier and Type | Method and Description |
---|---|
protected void |
doDelete(org.apache.sling.api.SlingHttpServletRequest request,
org.apache.sling.api.SlingHttpServletResponse response) |
protected void |
doGet(org.apache.sling.api.SlingHttpServletRequest request,
org.apache.sling.api.SlingHttpServletResponse response) |
protected void |
doPost(org.apache.sling.api.SlingHttpServletRequest request,
org.apache.sling.api.SlingHttpServletResponse response) |
protected void |
doPut(org.apache.sling.api.SlingHttpServletRequest request,
org.apache.sling.api.SlingHttpServletResponse response) |
protected void |
processDelete(ComponentServletRequest request)
Process a DELETE request.
|
protected void |
processGet(ComponentServletRequest request)
Process a GET request.
|
protected void |
processPost(ComponentServletRequest request)
Process a POST request.
|
protected void |
processPut(ComponentServletRequest request)
Process a PUT request.
|
writeJsonResponse, writeJsonResponse, writeJsonResponse, writeJsonResponse
getAllowedRequestMethods, isMethodValid, mayService
doGeneric, doHead, doOptions, doTrace, getServletInfo, handleMethodNotImplemented, service, service
protected final void doDelete(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response) throws javax.servlet.ServletException, IOException
doDelete
in class org.apache.sling.api.servlets.SlingAllMethodsServlet
javax.servlet.ServletException
IOException
protected final void doGet(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response) throws javax.servlet.ServletException, IOException
doGet
in class org.apache.sling.api.servlets.SlingSafeMethodsServlet
javax.servlet.ServletException
IOException
protected final void doPost(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response) throws javax.servlet.ServletException, IOException
doPost
in class org.apache.sling.api.servlets.SlingAllMethodsServlet
javax.servlet.ServletException
IOException
protected final void doPut(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response) throws javax.servlet.ServletException, IOException
doPut
in class org.apache.sling.api.servlets.SlingAllMethodsServlet
javax.servlet.ServletException
IOException
protected void processDelete(ComponentServletRequest request) throws javax.servlet.ServletException, IOException
request
- component requestjavax.servlet.ServletException
- if servlet error occursIOException
- if I/O error occursprotected void processGet(ComponentServletRequest request) throws javax.servlet.ServletException, IOException
request
- component requestjavax.servlet.ServletException
- if servlet error occursIOException
- if I/O error occursprotected void processPost(ComponentServletRequest request) throws javax.servlet.ServletException, IOException
request
- component requestjavax.servlet.ServletException
- if servlet error occursIOException
- if I/O error occursprotected void processPut(ComponentServletRequest request) throws javax.servlet.ServletException, IOException
request
- component requestjavax.servlet.ServletException
- if servlet error occursIOException
- if I/O error occursCopyright © 2019 ICF Next. All rights reserved.