@Service(value=javax.servlet.Servlet.class) @Property(name="sling.servlet.resourceTypes",value="fd/af/components/guideContainer") @Property(name="sling.servlet.methods",value="POST") @Property(name="service.description",value="Adaptive Form Submit") @Property(name="sling.servlet.selectors",value={"af.submit","af.agreement","af.signSubmit"}) public class GuideSubmitServlet extends SlingAllMethodsServlet
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REQ_ATTR_FORWARD_OPTIONS |
static java.lang.String |
REQ_ATTR_FORWARD_PATH |
static java.lang.String |
REQUEST_ATTR_REDIRECT_PARAMETER_MAP |
static java.lang.String |
REQUEST_ATTR_WORKFLOW_PATH |
static java.lang.String |
REQUEST_ATTR_WORKFLOW_PAYLOAD_PATH |
Constructor and Description |
---|
GuideSubmitServlet() |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<java.lang.String,java.lang.String> |
getRedirectParameters(SlingHttpServletRequest request)
Deprecated.
As of release 6.2, replaced by
com.adobe.aemds.guide.utils.GuideSubmitUtils.getRedirectParameters |
static java.lang.String |
getReqAttrPdfName(SlingHttpServletRequest request)
Deprecated.
|
static void |
setForwardPath(SlingHttpServletRequest req,
java.lang.String path,
java.lang.String selector,
java.lang.String suffix)
Deprecated.
As of release 6.2, replaced by
com.adobe.aemds.guide.utils.GuideSubmitUtils.setForwardPath |
static void |
setRedirectParameters(SlingHttpServletRequest request,
java.util.Map<java.lang.String,java.lang.String> value)
Deprecated.
As of release 6.2, replaced by
com.adobe.aemds.guide.utils.GuideSubmitUtils.setRedirectParameters |
static void |
setRedirectUrl(SlingHttpServletRequest req,
java.lang.String redirectUrl)
Deprecated.
As of release 6.2, replaced by
com.adobe.aemds.guide.utils.GuideSubmitUtils.setRedirectUrl |
static void |
setRequestAttrPdfName(SlingHttpServletRequest request,
java.lang.String value)
This should be used to set the pdf name in the current client request
|
getServletInfo, service
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, init, log, log
public static final java.lang.String REQ_ATTR_FORWARD_PATH
public static final java.lang.String REQ_ATTR_FORWARD_OPTIONS
public static final java.lang.String REQUEST_ATTR_WORKFLOW_PATH
public static final java.lang.String REQUEST_ATTR_WORKFLOW_PAYLOAD_PATH
public static final java.lang.String REQUEST_ATTR_REDIRECT_PARAMETER_MAP
@Deprecated public static void setForwardPath(SlingHttpServletRequest req, java.lang.String path, java.lang.String selector, java.lang.String suffix)
com.adobe.aemds.guide.utils.GuideSubmitUtils.setForwardPath
req
- Sling requestpath
- Path to forward the current requestselector
- Sling selector to use while forwarding the request to the path. Null if no selector to be usedsuffix
- Suffix to use while forwarding the request to the path. Null if no selector to be used@Deprecated public static void setRedirectUrl(SlingHttpServletRequest req, java.lang.String redirectUrl)
com.adobe.aemds.guide.utils.GuideSubmitUtils.setRedirectUrl
req
- sling requestredirectUrl
- redirect url to set in the current request object@Deprecated public static java.util.Map<java.lang.String,java.lang.String> getRedirectParameters(SlingHttpServletRequest request)
com.adobe.aemds.guide.utils.GuideSubmitUtils.getRedirectParameters
setRedirectParameters(org.apache.sling.api.SlingHttpServletRequest, java.util.Map<java.lang.String, java.lang.String>)
request
- sling request@Deprecated public static void setRedirectParameters(SlingHttpServletRequest request, java.util.Map<java.lang.String,java.lang.String> value)
com.adobe.aemds.guide.utils.GuideSubmitUtils.setRedirectParameters
request
- sling requestvalue
- Map represent the redirect paramters to be set@Deprecated public static java.lang.String getReqAttrPdfName(SlingHttpServletRequest request)
setRequestAttrPdfName(org.apache.sling.api.SlingHttpServletRequest, String)
request
- Interface to provide client request information to a servlet.public static void setRequestAttrPdfName(SlingHttpServletRequest request, java.lang.String value)
request
- Interface to provide client request information to a servlet.value
- String representing the name of the pdfCopyright © 2010 - 2020 Adobe. All Rights Reserved