@ProviderType public interface PostRedirectGetFormHelper extends FormHelper
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_ERRORS |
static String |
KEY_FORM |
static String |
KEY_FORM_NAME |
static String |
KEY_PREFIX_FORM_NAME |
static String |
QUERY_PARAM_FORM_SELECTOR |
DEFAULT_FORM_SELECTOR, EXTENSION, FORM_NAME_INPUT, FORM_RESOURCE_INPUT, SERVICE_RANKING_BASE, SERVICE_RANKING_FORWARD_AS_GET, SERVICE_RANKING_POST_REDIRECT_GET, SERVICE_RANKING_POST_REDIRECT_WITH_COOKIES_GET| Modifier and Type | Method and Description |
|---|---|
void |
sendRedirect(Form form,
com.day.cq.wcm.api.Page page,
org.apache.sling.api.SlingHttpServletResponse response)
Issues a 302 redirect with the form serialized into a JSON object that can be
read out by the PostRedirectGetFormHelper on the "other side".
|
void |
sendRedirect(Form form,
com.day.cq.wcm.api.Page page,
String formSelector,
org.apache.sling.api.SlingHttpServletResponse response)
Same as:
sendRedirect(Form form, Page page, SlingHttpServletResponse response)
but adds the Form selector query parameter to redirect request.
|
void |
sendRedirect(Form form,
org.apache.sling.api.resource.Resource resource,
org.apache.sling.api.SlingHttpServletResponse response)
/**
Issues a 302 redirect with the form serialized into a JSON object that can be
read out by the PostRedirectGetFormHelper on the "other side".
|
void |
sendRedirect(Form form,
org.apache.sling.api.resource.Resource resource,
String formSelector,
org.apache.sling.api.SlingHttpServletResponse response)
Same as:
sendRedirect(Form form, Resource resource, SlingHttpServletResponse response)
but adds the Form selector query parameter to redirect request.
|
void |
sendRedirect(Form form,
String path,
org.apache.sling.api.SlingHttpServletResponse response)
Issues a 302 redirect with the form serialized into a JSON object that can be
read out by the PostRedirectGetFormHelper on the "other side".
|
void |
sendRedirect(Form form,
String path,
String formSelector,
org.apache.sling.api.SlingHttpServletResponse response)
Same as:
sendRedirect(Form form, String path, SlingHttpServletResponse response)
but adds the Form selector query parameter to redirect request.
|
getAction, getAction, getAction, getAction, getAction, getAction, getForm, getForm, getFormInputsHTML, getFormSelector, renderForm, renderForm, renderForm, renderOtherForm, renderOtherForm, renderOtherFormstatic final String KEY_FORM_NAME
static final String KEY_FORM
static final String KEY_ERRORS
static final String KEY_PREFIX_FORM_NAME
static final String QUERY_PARAM_FORM_SELECTOR
void sendRedirect(Form form, String path, org.apache.sling.api.SlingHttpServletResponse response) throws IOException
form - path - response - IOExceptionvoid sendRedirect(Form form, com.day.cq.wcm.api.Page page, org.apache.sling.api.SlingHttpServletResponse response) throws IOException
form - page - response - IOExceptionvoid sendRedirect(Form form, org.apache.sling.api.resource.Resource resource, org.apache.sling.api.SlingHttpServletResponse response) throws IOException
form - resource - response - IOExceptionvoid sendRedirect(Form form, String path, String formSelector, org.apache.sling.api.SlingHttpServletResponse response) throws IOException
form - path - formSelector - response - IOExceptionvoid sendRedirect(Form form, com.day.cq.wcm.api.Page page, String formSelector, org.apache.sling.api.SlingHttpServletResponse response) throws IOException
form - page - formSelector - response - IOExceptionvoid sendRedirect(Form form, org.apache.sling.api.resource.Resource resource, String formSelector, org.apache.sling.api.SlingHttpServletResponse response) throws IOException
form - resource - formSelector - response - IOExceptionCopyright © 2013–2020 Adobe. All rights reserved.