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, mayServicedoGeneric, doHead, doOptions, doTrace, getServletInfo, handleMethodNotImplemented, service, serviceprotected 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.SlingSafeMethodsServletjavax.servlet.ServletExceptionIOExceptionprotected 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.SlingAllMethodsServletjavax.servlet.ServletExceptionIOExceptionprotected 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–2018 The Apache Software Foundation. All rights reserved.