@ProviderType public interface ForwardAsGetFormHelper extends FormHelper
| Modifier and Type | Field and Description |
|---|---|
static String |
REQUEST_ATTR_FORM_KEY |
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 |
forwardAsGet(Form form,
com.day.cq.wcm.api.Page page,
org.apache.sling.api.SlingHttpServletRequest request,
org.apache.sling.api.SlingHttpServletResponse response)
Creates a synthetic GET request that can be used in the context of a real
POST request to retrieve GET renditions of resources.
|
void |
forwardAsGet(Form form,
com.day.cq.wcm.api.Page page,
org.apache.sling.api.SlingHttpServletRequest request,
org.apache.sling.api.SlingHttpServletResponse response,
org.apache.sling.api.request.RequestDispatcherOptions options)
Same as forwardAsGet(Form form, Page pae, SlingHttpServletRequest request, SlingHttpServletResponse) except allows
RequestDispatcherOptions to be passed in.
|
void |
forwardAsGet(Form form,
org.apache.sling.api.resource.Resource resource,
org.apache.sling.api.SlingHttpServletRequest request,
org.apache.sling.api.SlingHttpServletResponse response)
Creates a synthetic GET request that can be used in the context of a real
POST request to retrieve GET renditions of resources.
|
void |
forwardAsGet(Form form,
org.apache.sling.api.resource.Resource resource,
org.apache.sling.api.SlingHttpServletRequest request,
org.apache.sling.api.SlingHttpServletResponse response,
org.apache.sling.api.request.RequestDispatcherOptions options)
Creates a synthetic GET request that can be used in the context of a real
POST request to retrieve GET renditions of resources.
|
void |
forwardAsGet(Form form,
String path,
org.apache.sling.api.SlingHttpServletRequest request,
org.apache.sling.api.SlingHttpServletResponse response,
org.apache.sling.api.request.RequestDispatcherOptions options)
/**
Creates a synthetic GET request that can be used in the context of a real
POST request to retrieve GET renditions of resources.
|
String |
getAction(com.day.cq.wcm.api.Page page)
Creates the action URL when posting to a Page (non AJAX call)
|
getAction, getAction, getAction, getAction, getAction, getForm, getForm, getFormInputsHTML, getFormSelector, renderForm, renderForm, renderForm, renderOtherForm, renderOtherForm, renderOtherFormstatic final String REQUEST_ATTR_FORM_KEY
String getAction(com.day.cq.wcm.api.Page page)
getAction in interface FormHelperpage - void forwardAsGet(Form form, org.apache.sling.api.resource.Resource resource, org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response, org.apache.sling.api.request.RequestDispatcherOptions options) throws javax.servlet.ServletException, IOException
form - resource - request - response - options - javax.servlet.ServletExceptionIOExceptionvoid forwardAsGet(Form form, org.apache.sling.api.resource.Resource resource, org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response) throws javax.servlet.ServletException, IOException
form - resource - request - response - javax.servlet.ServletExceptionIOExceptionvoid forwardAsGet(Form form, com.day.cq.wcm.api.Page page, org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response) throws javax.servlet.ServletException, IOException
form - page - request - response - javax.servlet.ServletExceptionIOExceptionvoid forwardAsGet(Form form, com.day.cq.wcm.api.Page page, org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response, org.apache.sling.api.request.RequestDispatcherOptions options) throws javax.servlet.ServletException, IOException
form - page - request - response - options - javax.servlet.ServletExceptionIOExceptionvoid forwardAsGet(Form form, String path, org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response, org.apache.sling.api.request.RequestDispatcherOptions options) throws javax.servlet.ServletException, IOException
form - path - request - response - options - javax.servlet.ServletExceptionIOExceptionCopyright © 2013–2020 Adobe. All rights reserved.