public class FormResponder extends ServletResponder
Constructor and Description |
---|
FormResponder() |
Modifier and Type | Method and Description |
---|---|
static void |
appendCSSFolderIncludes(com.hp.gagawa.java.FertileNode rootNode,
String includeURL,
File includesDir,
IExtendedFormRequestContext ctx,
boolean inline)
Deprecated.
|
static void |
appendCSSFolderIncludes(com.hp.gagawa.java.FertileNode rootNode,
String includeURL,
String includesDir,
IExtendedFormRequestContext ctx,
boolean inline) |
static void |
appendJSFolderIncludes(com.hp.gagawa.java.FertileNode rootNode,
String includeURL,
File includesDir,
IExtendedFormRequestContext ctx,
boolean inline)
Deprecated.
|
static void |
appendJSFolderIncludes(com.hp.gagawa.java.FertileNode rootNode,
String includeURL,
String includesDir,
IExtendedFormRequestContext ctx,
boolean inline) |
static void |
authenticationCallback(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
static void |
authenticationSelection(IExtendedFormRequestContext requestCtx,
IFormAuthContext authCtx) |
static void |
authenticationSelection(IExtendedFormRequestContext requestCtx,
IFormAuthContext authCtx,
boolean xfcSessionLogin,
Collection<ProjectAuthenticatorConfig> authConfigs) |
static void |
authenticationSelection(IExtendedFormRequestContext requestCtx,
IFormAuthContext authCtx,
boolean xfcSessionLogin,
ProjectAuthenticatorConfig... authConfig) |
static void |
botDetected(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
Mandant client) |
static void |
botDetected(IExtendedFormRequestContext ctx) |
static boolean |
checkRenderParam(String value,
boolean defaultValue) |
static void |
commonError(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
Mandant client) |
static void |
commonError(IExtendedFormRequestContext ctx) |
static void |
cookieRequired(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
Mandant client) |
static void |
cookieRequired(IExtendedFormRequestContext ctx) |
static void |
formNotFound(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
Mandant client) |
static void |
formNotFound(IExtendedFormRequestContext ctx) |
static void |
formRecordLimitReached(IExtendedFormRequestContext ctx) |
static void |
formVersionNotActive(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
Mandant client) |
static void |
formVersionNotActive(IExtendedFormRequestContext ctx) |
static com.alibaba.fastjson.JSONObject |
getFormAuthCallbackData(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
static void |
identityTokenError(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
Mandant client) |
static void |
identityTokenError(IExtendedFormRequestContext ctx) |
static void |
internalError(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
Mandant client) |
static void |
internalError(IExtendedFormRequestContext ctx) |
static void |
invalidCall(IExtendedFormRequestContext ctx) |
static void |
invalidDoublePost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse respond,
Locale locale,
UserContext uc,
Mandant man) |
static void |
invalidDoublePost(IExtendedFormRequestContext ctx) |
static void |
invalidSession(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
Mandant client) |
static void |
invalidSession(IExtendedFormRequestContext ctx) |
static void |
logout(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
static void |
notAuthorizedCall(IExtendedFormRequestContext ctx,
Set<EUserAuthorizationType> authorizationType)
Deprecated.
|
static void |
notGroupAuthorized(IExtendedFormRequestContext ctx)
Deprecated.
|
static String |
prepareMsg(javax.servlet.http.HttpServletRequest request,
Mandant man,
Locale loc,
UserContext uc,
ETextbausteinMsgCode msgCode) |
static String |
prepareMsg(IExtendedFormRequestContext ctx,
ETextbausteinMsgCode msgCode) |
static String |
prepareMsg(Mandant man,
Locale loc,
UserContext uc,
ETextbausteinMsgCode msgCode) |
static String |
prepareMsg(String context,
Mandant man,
Locale loc,
UserContext uc,
ETextbausteinMsgCode msgCode)
Deprecated.
|
static boolean |
processParamRedirect(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse resp,
boolean success) |
static boolean |
processParamRedirect(IExtendedFormRequestContext ctx,
javax.servlet.http.HttpServletResponse resp,
boolean success) |
static boolean |
processParamRedirect(String succeccUrl,
String errorUrl,
javax.servlet.http.HttpServletResponse resp,
boolean success) |
static boolean |
processParamRedirect(ValueParameters rps,
javax.servlet.http.HttpServletResponse resp,
boolean success) |
static void |
projektNotOnline(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
Mandant client) |
static void |
projektNotOnline(IExtendedFormRequestContext ctx) |
static void |
redirect(String redirectURL,
ValueParameters rp,
javax.servlet.http.HttpServletResponse resp,
boolean success) |
static void |
respond(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse respond,
Locale locale,
UserContext uc,
Mandant man,
ETextbausteinMsgCode code,
boolean success) |
static void |
respond(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse respond,
ValueParameters values,
Mandant man,
ETextbausteinMsgCode msgCode,
boolean success)
Deprecated.
|
static void |
respond(javax.servlet.http.HttpServletResponse response,
EMime mime,
String msg) |
static void |
respond(IExtendedFormContext ctx,
EMime mime,
IWorkflowResponse wfr) |
static void |
respond(IExtendedFormContext ctx,
EMime mime,
String msg) |
static void |
respond(IExtendedFormRequestContext ctx,
ETextbausteinMsgCode msgCode,
boolean success)
Deprecated.
|
static void |
respond(IExtendedFormRequestContext ctx,
ETextbausteinMsgCode msgCode,
boolean success,
boolean withRedirect) |
static void |
respondDefaultTemplate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse respond,
ETextbausteinMsgCode msgCode,
boolean success) |
static void |
respondDefaultTemplateForContextException(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ContextBuilderException e) |
static void |
respondHTML(IExtendedFormRequestContext ctx,
IWorkflowResponse wfr) |
static void |
respondHTML(IExtendedFormRequestContext ctx,
IWorkflowResponse wfr,
Vorgang v)
Deprecated.
|
static void |
respondTemplate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse respond,
Locale locale,
String templateText,
boolean success) |
static void |
respondTemplate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse respond,
Locale locale,
String templateText,
boolean success,
ETextbausteinMsgCode msgCode) |
static void |
respondTemplate(IExtendedFormRequestContext ctx,
IWorkflowResponse wfr) |
static void |
respondTemplate(IExtendedFormRequestContext ctx,
IWorkflowResponse wfr,
Vorgang v)
Deprecated.
|
static void |
respondTemplate(ValueParameters rps,
Locale locale,
javax.servlet.http.HttpServletResponse resp,
String textbaustein,
boolean success) |
static void |
respondTemplateByCtx(IExtendedFormRequestContext ctx,
ETextbausteinMsgCode msgCode,
boolean success,
boolean withRedirect) |
static void |
respondTemplateByCtx(IExtendedFormRequestContext ctx,
String textbaustein,
boolean success,
boolean withRedirect) |
static void |
respondTemplateByServlet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse respond,
Mandant client,
ETextbausteinMsgCode msgCode,
boolean success,
boolean withRedirect) |
static void |
respondWorkflow(IExtendedFormRequestContext ctx,
IWorkflowResponse resp) |
static void |
respondWorkflow(IExtendedFormRequestContext ctx,
IWorkflowResponse resp,
Vorgang v)
Deprecated.
|
static void |
sendFormDataFailed(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
Mandant client) |
static void |
sendFormDataFailed(IExtendedFormRequestContext ctx) |
static void |
sendFormDataSucceeded(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
Mandant client) |
static void |
sendFormDataSucceeded(IExtendedFormRequestContext ctx) |
static void |
validationError(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
Mandant client) |
static void |
validationError(IExtendedFormRequestContext ctx) |
addDispositionHeader, buildTemplateHTML, buildTemplateHTML, redirect, respond, respondContent, respondContent, respondFile, respondFile, respondFile, respondFile, respondFile, respondFile, respondFile, respondHTML, respondHTML, respondJavaScript, respondJSON, respondJSON, respondJSON, respondJSON, respondJSONError, respondJSONMessage, respondPlainText, respondStream, respondStream, respondTemplate, respondXML, respondXML, writeHeader, writeSessionParameters, writeStatusCode
public static void invalidCall(IExtendedFormRequestContext ctx)
public static void invalidDoublePost(IExtendedFormRequestContext ctx)
public static void invalidDoublePost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse respond, Locale locale, UserContext uc, Mandant man)
public static boolean checkRenderParam(String value, boolean defaultValue)
public static void authenticationSelection(IExtendedFormRequestContext requestCtx, IFormAuthContext authCtx)
public static void authenticationSelection(IExtendedFormRequestContext requestCtx, IFormAuthContext authCtx, boolean xfcSessionLogin, ProjectAuthenticatorConfig... authConfig)
public static void authenticationSelection(IExtendedFormRequestContext requestCtx, IFormAuthContext authCtx, boolean xfcSessionLogin, Collection<ProjectAuthenticatorConfig> authConfigs)
public static void authenticationCallback(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
public static com.alibaba.fastjson.JSONObject getFormAuthCallbackData(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
public static void logout(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
public static void cookieRequired(IExtendedFormRequestContext ctx)
public static void cookieRequired(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, Mandant client)
public static void invalidSession(IExtendedFormRequestContext ctx)
public static void invalidSession(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, Mandant client)
public static void validationError(IExtendedFormRequestContext ctx)
public static void validationError(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, Mandant client)
public static void projektNotOnline(IExtendedFormRequestContext ctx)
public static void formRecordLimitReached(IExtendedFormRequestContext ctx)
public static void projektNotOnline(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, Mandant client)
public static void internalError(IExtendedFormRequestContext ctx)
public static void internalError(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, Mandant client)
public static void commonError(IExtendedFormRequestContext ctx)
public static void commonError(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, Mandant client)
public static void identityTokenError(IExtendedFormRequestContext ctx)
public static void identityTokenError(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, Mandant client)
public static void formVersionNotActive(IExtendedFormRequestContext ctx)
public static void formVersionNotActive(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, Mandant client)
public static void sendFormDataFailed(IExtendedFormRequestContext ctx)
public static void sendFormDataFailed(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, Mandant client)
public static void botDetected(IExtendedFormRequestContext ctx)
public static void botDetected(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, Mandant client)
public static void sendFormDataSucceeded(IExtendedFormRequestContext ctx)
public static void sendFormDataSucceeded(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, Mandant client)
public static void formNotFound(IExtendedFormRequestContext ctx)
public static void formNotFound(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, Mandant client)
public static void respond(IExtendedFormRequestContext ctx, ETextbausteinMsgCode msgCode, boolean success, boolean withRedirect)
public static void respondDefaultTemplate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse respond, ETextbausteinMsgCode msgCode, boolean success)
public static void respondTemplateByServlet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse respond, Mandant client, ETextbausteinMsgCode msgCode, boolean success, boolean withRedirect)
public static void respondDefaultTemplateForContextException(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, ContextBuilderException e)
public static void respond(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse respond, Locale locale, UserContext uc, Mandant man, ETextbausteinMsgCode code, boolean success)
public static boolean processParamRedirect(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse resp, boolean success)
public static boolean processParamRedirect(ValueParameters rps, javax.servlet.http.HttpServletResponse resp, boolean success)
public static boolean processParamRedirect(IExtendedFormRequestContext ctx, javax.servlet.http.HttpServletResponse resp, boolean success)
public static boolean processParamRedirect(String succeccUrl, String errorUrl, javax.servlet.http.HttpServletResponse resp, boolean success)
public static void redirect(String redirectURL, ValueParameters rp, javax.servlet.http.HttpServletResponse resp, boolean success)
public static void respondTemplateByCtx(IExtendedFormRequestContext ctx, ETextbausteinMsgCode msgCode, boolean success, boolean withRedirect)
public static void respondTemplateByCtx(IExtendedFormRequestContext ctx, String textbaustein, boolean success, boolean withRedirect)
public static void respondTemplate(ValueParameters rps, Locale locale, javax.servlet.http.HttpServletResponse resp, String textbaustein, boolean success)
public static void respondTemplate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse respond, Locale locale, String templateText, boolean success)
public static void respondTemplate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse respond, Locale locale, String templateText, boolean success, ETextbausteinMsgCode msgCode)
public static String prepareMsg(IExtendedFormRequestContext ctx, ETextbausteinMsgCode msgCode)
public static String prepareMsg(javax.servlet.http.HttpServletRequest request, Mandant man, Locale loc, UserContext uc, ETextbausteinMsgCode msgCode)
public static String prepareMsg(Mandant man, Locale loc, UserContext uc, ETextbausteinMsgCode msgCode)
public static void respondTemplate(IExtendedFormRequestContext ctx, IWorkflowResponse wfr)
public static void respondHTML(IExtendedFormRequestContext ctx, IWorkflowResponse wfr)
public static void respond(IExtendedFormContext ctx, EMime mime, IWorkflowResponse wfr)
public static void respond(IExtendedFormContext ctx, EMime mime, String msg)
public static void respond(javax.servlet.http.HttpServletResponse response, EMime mime, String msg)
public static void appendJSFolderIncludes(com.hp.gagawa.java.FertileNode rootNode, String includeURL, String includesDir, IExtendedFormRequestContext ctx, boolean inline)
public static void appendCSSFolderIncludes(com.hp.gagawa.java.FertileNode rootNode, String includeURL, String includesDir, IExtendedFormRequestContext ctx, boolean inline)
public static void respondWorkflow(IExtendedFormRequestContext ctx, IWorkflowResponse resp) throws IOException
IOException
@Deprecated public static void respond(IExtendedFormRequestContext ctx, ETextbausteinMsgCode msgCode, boolean success)
@Deprecated public static void respond(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse respond, ValueParameters values, Mandant man, ETextbausteinMsgCode msgCode, boolean success)
@Deprecated public static void respondWorkflow(IExtendedFormRequestContext ctx, IWorkflowResponse resp, Vorgang v) throws IOException
respondWorkflow(IExtendedFormRequestContext, IWorkflowResponse)
IOException
@Deprecated public static void appendCSSFolderIncludes(com.hp.gagawa.java.FertileNode rootNode, String includeURL, File includesDir, IExtendedFormRequestContext ctx, boolean inline)
@Deprecated public static void appendJSFolderIncludes(com.hp.gagawa.java.FertileNode rootNode, String includeURL, File includesDir, IExtendedFormRequestContext ctx, boolean inline)
@Deprecated public static void respondHTML(IExtendedFormRequestContext ctx, IWorkflowResponse wfr, Vorgang v)
respondHTML(IExtendedFormRequestContext, IWorkflowResponse)
@Deprecated public static void respondTemplate(IExtendedFormRequestContext ctx, IWorkflowResponse wfr, Vorgang v)
respondTemplate(IExtendedFormRequestContext, IWorkflowResponse)
@Deprecated public static String prepareMsg(String context, Mandant man, Locale loc, UserContext uc, ETextbausteinMsgCode msgCode)
prepareMsg(Mandant, Locale, UserContext, ETextbausteinMsgCode)
@Deprecated public static void notAuthorizedCall(IExtendedFormRequestContext ctx, Set<EUserAuthorizationType> authorizationType)
@Deprecated public static void notGroupAuthorized(IExtendedFormRequestContext ctx)
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.