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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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

    Methods inherited from class fr.paris.lutece.portal.util.mvc.xpage.MVCApplication

    getPage, getRealClass

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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