Package com.adobe.aemds.guide.servlet
Class GuideSubmitServlet
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- org.apache.sling.api.servlets.SlingSafeMethodsServlet
-
- org.apache.sling.api.servlets.SlingAllMethodsServlet
-
- com.adobe.aemds.guide.servlet.GuideSubmitServlet
-
- All Implemented Interfaces:
java.io.Serializable,javax.servlet.Servlet,javax.servlet.ServletConfig
@Service(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 SlingAllMethodsServletThis file is still present here to support backward compatibility. The public API's which were exposed as part of this servlet have been moved to GuideSubmitUtils. Public API's of this package are not to be used post 6.2- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringREQ_ATTR_FORWARD_OPTIONSstatic java.lang.StringREQ_ATTR_FORWARD_PATHstatic java.lang.StringREQUEST_ATTR_REDIRECT_PARAMETER_MAPstatic java.lang.StringREQUEST_ATTR_WORKFLOW_PATHstatic java.lang.StringREQUEST_ATTR_WORKFLOW_PAYLOAD_PATH
-
Constructor Summary
Constructors Constructor Description GuideSubmitServlet()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static java.lang.StringgetReqAttrPdfName(SlingHttpServletRequest request)Deprecated.static voidsetForwardPath(SlingHttpServletRequest req, java.lang.String path, java.lang.String selector, java.lang.String suffix)Deprecated.As of release 6.2, replaced by {@see com.adobe.aemds.guide.utils.GuideSubmitUtils#setForwardPath}static voidsetRequestAttrPdfName(SlingHttpServletRequest request, java.lang.String value)This should be used to set the pdf name in the current client request-
Methods inherited from class org.apache.sling.api.servlets.SlingSafeMethodsServlet
getServletInfo, service
-
-
-
-
Field Detail
-
REQ_ATTR_FORWARD_PATH
public static final java.lang.String REQ_ATTR_FORWARD_PATH
- See Also:
- Constant Field Values
-
REQ_ATTR_FORWARD_OPTIONS
public static final java.lang.String REQ_ATTR_FORWARD_OPTIONS
- See Also:
- Constant Field Values
-
REQUEST_ATTR_WORKFLOW_PATH
public static final java.lang.String REQUEST_ATTR_WORKFLOW_PATH
- See Also:
- Constant Field Values
-
REQUEST_ATTR_WORKFLOW_PAYLOAD_PATH
public static final java.lang.String REQUEST_ATTR_WORKFLOW_PAYLOAD_PATH
- See Also:
- Constant Field Values
-
REQUEST_ATTR_REDIRECT_PARAMETER_MAP
public static final java.lang.String REQUEST_ATTR_REDIRECT_PARAMETER_MAP
- See Also:
- Constant Field Values
-
-
Method Detail
-
setForwardPath
@Deprecated public 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 {@see com.adobe.aemds.guide.utils.GuideSubmitUtils#setForwardPath}This API should be used to set the path to forward the current request- Parameters:
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
-
getReqAttrPdfName
@Deprecated public static java.lang.String getReqAttrPdfName(SlingHttpServletRequest request)
Deprecated.Returns the name of the pdf which is set from the current client request usingsetRequestAttrPdfName(org.apache.sling.api.SlingHttpServletRequest, String)- Parameters:
request- Interface to provide client request information to a servlet.- Returns:
- the string represent the pdf name
-
setRequestAttrPdfName
public static void setRequestAttrPdfName(SlingHttpServletRequest request, java.lang.String value)
This should be used to set the pdf name in the current client request- Parameters:
request- Interface to provide client request information to a servlet.value- String representing the name of the pdf
-
-