public abstract class AFormProcessingServlet
extends javax.servlet.http.HttpServlet
| Constructor and Description |
|---|
AFormProcessingServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
checkProcessCtx(IExtendedFormRequestContext ctx)
Validates the form request context, ie. if the user is allowed to perform the requested action.
|
protected abstract IExtendedFormRequestContext |
createFormRequestContext(UserContext uc,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
protected void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
protected boolean |
exec(IExtendedFormRequestContext requestCtx) |
protected void |
process(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
protected boolean |
processHttp(IExtendedFormRequestContext requestCtx) |
protected abstract void |
respondWorkflowAfterSubmit(IFormProcessContext processCtx,
IExtendedFormRequestContext requestCtx) |
protected boolean |
startVorgang(IExtendedFormRequestContext requestCtx,
IXForm xform) |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, serviceprotected void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
IOException
doGet in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionprotected void doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
IOException
doPost in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionprotected void process(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws UnsupportedEncodingException
UnsupportedEncodingExceptionprotected boolean exec(IExtendedFormRequestContext requestCtx)
protected boolean processHttp(IExtendedFormRequestContext requestCtx)
protected boolean startVorgang(IExtendedFormRequestContext requestCtx, IXForm xform)
protected abstract void respondWorkflowAfterSubmit(IFormProcessContext processCtx, IExtendedFormRequestContext requestCtx) throws IOException
IOExceptionprotected abstract IExtendedFormRequestContext createFormRequestContext(UserContext uc, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws ContextBuilderException
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 abstract boolean checkProcessCtx(IExtendedFormRequestContext ctx)
ctx - Current request context.Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.