Package com.appslandia.plum.defaults
Class DefaultCaptchaController
- java.lang.Object
-
- com.appslandia.plum.defaults.DefaultCaptchaController
-
@ApplicationScoped @Controller("captcha") @Authorize(removed=true) @EnableGzip(removed=true) @CacheControl(nocache=true) public class DefaultCaptchaController extends Object
- Author:
- Loc Ha
-
-
Field Summary
Fields Modifier and Type Field Description protected ActionParseractionParserprotected SimpleCaptchaManagercaptchaManagerprotected CaptchaProducercaptchaProducer
-
Constructor Summary
Constructors Constructor Description DefaultCaptchaController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Resultindex(RequestAccessor request, javax.servlet.http.HttpServletResponse response)ActionResultwords(RequestAccessor request)
-
-
-
Field Detail
-
captchaManager
@Inject protected SimpleCaptchaManager captchaManager
-
captchaProducer
@Inject protected CaptchaProducer captchaProducer
-
actionParser
@Inject protected ActionParser actionParser
-
-
Method Detail
-
index
@HttpGetPost public Result index(RequestAccessor request, javax.servlet.http.HttpServletResponse response) throws Exception
- Throws:
Exception
-
words
@HttpGet public ActionResult words(RequestAccessor request) throws Exception
- Throws:
Exception
-
-