@WebServlet(name="FormProcessServlet",
urlPatterns="/form/process/*",
asyncSupported=true)
public class FormProcessServlet
extends AFormProcessingServlet
| Constructor and Description |
|---|
FormProcessServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkProcessCtx(IExtendedFormRequestContext ctx)
Validates the form request context, ie. if the user is allowed to perform the requested action.
|
protected IExtendedFormRequestContext |
createFormRequestContext(UserContext uc,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
protected void |
respondWorkflowAfterSubmit(IFormProcessContext processCtx,
IExtendedFormRequestContext requestCtx) |
doGet, doPost, exec, process, processHttp, startVorgangdoDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, serviceprotected IExtendedFormRequestContext createFormRequestContext(UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws ContextBuilderException
createFormRequestContext in class AFormProcessingServletuc - Current user context.req - Current HTTP request.resp - Current HTTP response.ContextBuilderException - Allowed to be thrown when the processing context could not be built.protected boolean checkProcessCtx(IExtendedFormRequestContext ctx)
AFormProcessingServletcheckProcessCtx in class AFormProcessingServletctx - Current request context.protected void respondWorkflowAfterSubmit(IFormProcessContext processCtx, IExtendedFormRequestContext requestCtx) throws IOException
respondWorkflowAfterSubmit in class AFormProcessingServletIOExceptionCopyright © 2020 XIMA MEDIA GmbH. All rights reserved.