@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, startVorgang
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
protected IExtendedFormRequestContext createFormRequestContext(UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws ContextBuilderException
createFormRequestContext
in class AFormProcessingServlet
uc
- 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)
AFormProcessingServlet
checkProcessCtx
in class AFormProcessingServlet
ctx
- Current request context.protected void respondWorkflowAfterSubmit(IFormProcessContext processCtx, IExtendedFormRequestContext requestCtx) throws IOException
respondWorkflowAfterSubmit
in class AFormProcessingServlet
IOException
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.