@WebServlet(name="FormVerifyServlet", urlPatterns="/form/verify/*", asyncSupported=true) public class FormVerifyServlet extends AFormProcessingServlet
Constructor and Description |
---|
FormVerifyServlet() |
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 |
process(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
protected void |
respondWorkflowAfterSubmit(IFormProcessContext processCtx,
IExtendedFormRequestContext requestCtx) |
doGet, doPost, exec, processHttp, startVorgang
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
protected void process(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws UnsupportedEncodingException
process
in class AFormProcessingServlet
UnsupportedEncodingException
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 © 2019 XIMA MEDIA GmbH. All rights reserved.