public class ExecutionServlet extends BaseServlet
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ERROR_MESSAGE_MANDATORY |
ERROR_MESSAGE_INTERNAL_SERVER| Constructor and Description |
|---|
ExecutionServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doGet(org.apache.sling.api.SlingHttpServletRequest request,
org.apache.sling.api.SlingHttpServletResponse response) |
protected de.valtech.aecu.api.service.HistoryEntry |
finishHistoryEntry(de.valtech.aecu.api.service.HistoryEntry historyEntry,
String historyEntryAction) |
protected de.valtech.aecu.api.service.HistoryEntry |
getHistoryEntry(org.apache.sling.api.SlingHttpServletRequest request,
org.apache.sling.api.SlingHttpServletResponse response,
String historyEntryAction) |
protected String |
prepareJson(de.valtech.aecu.api.service.ExecutionResult executionResult,
String historyEntryPath)
This method builds the JSON String for the response.
|
sendInternalServerError, setNoCache, validateParameter, writeResult, writeResultdoDelete, doPost, doPut, getAllowedRequestMethods, isMethodValid, mayServicedoGeneric, doHead, doOptions, doTrace, getServletInfo, handleMethodNotImplemented, service, serviceprotected static final String ERROR_MESSAGE_MANDATORY
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 de.valtech.aecu.api.service.HistoryEntry getHistoryEntry(org.apache.sling.api.SlingHttpServletRequest request,
org.apache.sling.api.SlingHttpServletResponse response,
String historyEntryAction)
throws de.valtech.aecu.api.service.AecuException,
IOException
de.valtech.aecu.api.service.AecuExceptionIOExceptionprotected de.valtech.aecu.api.service.HistoryEntry finishHistoryEntry(de.valtech.aecu.api.service.HistoryEntry historyEntry,
String historyEntryAction)
throws de.valtech.aecu.api.service.AecuException
de.valtech.aecu.api.service.AecuExceptionprotected String prepareJson(de.valtech.aecu.api.service.ExecutionResult executionResult, String historyEntryPath)
executionResult - resulthistoryEntryPath - path to history nodeCopyright © 2019. All rights reserved.