public class PlumberServlet
extends org.apache.sling.api.servlets.SlingAllMethodsServlet
Modifier and Type | Field and Description |
---|---|
protected static String |
PARAM_ASYNC |
protected static String |
PARAM_BINDINGS |
protected static String |
PARAM_FILE |
protected static String |
PARAM_PATH |
Constructor and Description |
---|
PlumberServlet() |
Modifier and Type | Method and Description |
---|---|
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 |
execute(org.apache.sling.api.SlingHttpServletRequest request,
org.apache.sling.api.SlingHttpServletResponse response,
boolean writeAllowed)
Execution of a pipe corresponding to a request
|
protected Map |
getBindingsFromRequest(org.apache.sling.api.SlingHttpServletRequest request,
boolean writeAllowed)
Converts request into pipe bindings
|
doDelete, doPut, getAllowedRequestMethods, isMethodValid, mayService
doGeneric, doHead, doOptions, doTrace, getServletInfo, handleMethodNotImplemented, service, service
protected static final String PARAM_PATH
protected static final String PARAM_BINDINGS
protected static final String PARAM_ASYNC
protected static final String PARAM_FILE
protected 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 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 void execute(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response, boolean writeAllowed) throws javax.servlet.ServletException
request
- original requestresponse
- given responsewriteAllowed
- should we consider this execution is about to modify contentjavax.servlet.ServletException
- in case something is wrong...protected Map getBindingsFromRequest(org.apache.sling.api.SlingHttpServletRequest request, boolean writeAllowed) throws IOException
request
- from where to extract bindingswriteAllowed
- should we consider this execution is about to modify contentIOException
- in case something turns wrong with an input streamCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.