@ApplicationScoped @Controller(value="captcha") @Authorize(removed=true) @EnableGzip(removed=true) @CacheControl(nocache=true) public class DefaultCaptchaController extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ActionParser |
actionParser |
protected SimpleCaptchaManager |
captchaManager |
protected CaptchaProducer |
captchaProducer |
| Constructor and Description |
|---|
DefaultCaptchaController() |
| Modifier and Type | Method and Description |
|---|---|
Result |
index(RequestAccessor request,
javax.servlet.http.HttpServletResponse response) |
ActionResult |
words(RequestAccessor request) |
@Inject protected SimpleCaptchaManager captchaManager
@Inject protected CaptchaProducer captchaProducer
@Inject protected ActionParser actionParser
@HttpGetPost public Result index(RequestAccessor request, javax.servlet.http.HttpServletResponse response) throws Exception
Exception@HttpGet public ActionResult words(RequestAccessor request) throws Exception
ExceptionCopyright © 2021. All rights reserved.