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