Class 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 SlingAllMethodsServlet
    This 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 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
    • Constructor Detail

      • GuideSubmitServlet

        public GuideSubmitServlet()
    • 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 request
        path - Path to forward the current request
        selector - Sling selector to use while forwarding the request to the path. Null if no selector to be used
        suffix - Suffix to use while forwarding the request to the path. Null if no selector to be used
      • 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