Class CaptchEtatXPage
java.lang.Object
fr.paris.lutece.portal.util.mvc.xpage.MVCApplication
fr.paris.lutece.plugins.captcha.modules.captchetat.web.CaptchEtatXPage
- All Implemented Interfaces:
fr.paris.lutece.portal.web.xpages.XPageApplication,Serializable
@RequestScoped
@Named("captchetat.xpage.captchetat")
@Controller(xpageName="captchetat",
pageTitleI18nKey="module.captcha.captchetat.pageTitle",
pagePathI18nKey="module.captcha.captchetat.pagePath")
public class CaptchEtatXPage
extends fr.paris.lutece.portal.util.mvc.xpage.MVCApplication
This class manages CaptchEtat XPage interactions.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfr.paris.lutece.portal.web.xpages.XPagerefreshCaptcha(jakarta.servlet.http.HttpServletRequest request) Generates a new captcha, read by the "new captcha" button of the captcha field: a read view, so that it is requested by GETMethods inherited from class fr.paris.lutece.portal.util.mvc.xpage.MVCApplication
getPage, getRealClass
-
Constructor Details
-
CaptchEtatXPage
public CaptchEtatXPage()
-
-
Method Details
-
refreshCaptcha
@View("refreshCaptcha") public fr.paris.lutece.portal.web.xpages.XPage refreshCaptcha(jakarta.servlet.http.HttpServletRequest request) Generates a new captcha, read by the "new captcha" button of the captcha field: a read view, so that it is requested by GET- Parameters:
request- the HTTP request- Returns:
- the JSON of the captcha (uuid, image, audio) or of the error
-