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 |
botDetected(IExtendedFormRequestContext ctx) |
static boolean |
checkRenderParam(String value,
boolean defaultValue) |
static void |
commonError(IExtendedFormRequestContext ctx) |
static void |
cookieRequired(IExtendedFormRequestContext ctx) |
static void |
formNotFound(IExtendedFormRequestContext ctx) |
static void |
formVersionNotActive(IExtendedFormRequestContext ctx) |
static void |
identityTokenError(IExtendedFormRequestContext ctx) |
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(IExtendedFormRequestContext ctx) |
static void |
notAuthorizedCall(IExtendedFormRequestContext ctx,
Set<EUserAuthorizationType> authorizationType) |
static void |
notGroupAuthorized(IExtendedFormRequestContext ctx) |
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(String context,
Mandant man,
Locale loc,
UserContext uc,
ETextbausteinMsgCode msgCode) |
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(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 |
respondWorkflow(IExtendedFormRequestContext ctx,
IWorkflowResponse resp) |
static void |
respondWorkflow(IExtendedFormRequestContext ctx,
IWorkflowResponse resp,
Vorgang v)
Deprecated.
|
static void |
sendFormDataFailed(IExtendedFormRequestContext ctx) |
static void |
sendFormDataSucceeded(IExtendedFormRequestContext ctx) |
static void |
validationError(IExtendedFormRequestContext ctx) |
addDispositionHeader, buildTemplateHTML, buildTemplateHTML, redirect, respond, respondContent, respondContent, respondFile, respondFile, respondFile, respondFile, respondFile, respondFile, respondHTML, respondHTML, respondJavaScript, respondJSON, respondJSON, respondJSON, respondJSON, respondJSONError, respondJSONMessage, respondPlainText, respondStream, respondStream, respondTemplate, respondXML, respondXML, writeSessionParameters
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 notAuthorizedCall(IExtendedFormRequestContext ctx, Set<EUserAuthorizationType> authorizationType)
public static void notGroupAuthorized(IExtendedFormRequestContext ctx)
public static void cookieRequired(IExtendedFormRequestContext ctx)
public static void invalidSession(IExtendedFormRequestContext ctx)
public static void validationError(IExtendedFormRequestContext ctx)
public static void projektNotOnline(IExtendedFormRequestContext ctx)
public static void internalError(IExtendedFormRequestContext ctx)
public static void commonError(IExtendedFormRequestContext ctx)
public static void identityTokenError(IExtendedFormRequestContext ctx)
public static void formVersionNotActive(IExtendedFormRequestContext ctx)
public static void sendFormDataFailed(IExtendedFormRequestContext ctx)
public static void botDetected(IExtendedFormRequestContext ctx)
public static void sendFormDataSucceeded(IExtendedFormRequestContext ctx)
public static void formNotFound(IExtendedFormRequestContext ctx)
public static void respond(IExtendedFormRequestContext ctx, ETextbausteinMsgCode msgCode, boolean success, boolean withRedirect)
@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)
public static void respondDefaultTemplate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse respond, ETextbausteinMsgCode msgCode, boolean success)
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(String context, Mandant man, Locale loc, UserContext uc, ETextbausteinMsgCode msgCode)
@Deprecated public static void respondTemplate(IExtendedFormRequestContext ctx, IWorkflowResponse wfr, Vorgang v)
respondTemplate(IExtendedFormRequestContext, IWorkflowResponse)
public static void respondTemplate(IExtendedFormRequestContext ctx, IWorkflowResponse wfr)
@Deprecated public static void respondHTML(IExtendedFormRequestContext ctx, IWorkflowResponse wfr, Vorgang v)
respondHTML(IExtendedFormRequestContext, IWorkflowResponse)
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)
@Deprecated public static void appendJSFolderIncludes(com.hp.gagawa.java.FertileNode rootNode, String includeURL, File includesDir, IExtendedFormRequestContext ctx, boolean inline)
public static void appendJSFolderIncludes(com.hp.gagawa.java.FertileNode rootNode, String includeURL, String includesDir, IExtendedFormRequestContext ctx, boolean inline)
@Deprecated public static void appendCSSFolderIncludes(com.hp.gagawa.java.FertileNode rootNode, String includeURL, File includesDir, IExtendedFormRequestContext ctx, boolean inline)
public static void appendCSSFolderIncludes(com.hp.gagawa.java.FertileNode rootNode, String includeURL, String includesDir, IExtendedFormRequestContext ctx, boolean inline)
@Deprecated public static void respondWorkflow(IExtendedFormRequestContext ctx, IWorkflowResponse resp, Vorgang v) throws IOException
respondWorkflow(IExtendedFormRequestContext, IWorkflowResponse)
IOException
public static void respondWorkflow(IExtendedFormRequestContext ctx, IWorkflowResponse resp) throws IOException
IOException
Copyright © 2019 XIMA MEDIA GmbH. All rights reserved.