当前页面:
在线文档首页 >
JBoss Seam 1.2.1 API 英文版文档
CaptchaImage (JBoss Seam API Documentation) - JBoss Seam 1.2.1 API 英文版文档
org.jboss.seam.captcha
Class CaptchaImage
java.lang.Object
org.jboss.seam.servlet.AbstractResource
org.jboss.seam.captcha.CaptchaImage
@Startup
@Scope(value=APPLICATION)
@Name(value="org.jboss.seam.captcha.captchaImage")
@Intercept(value=NEVER)
@Install(precedence=0,
classDependencies="com.octo.captcha.service.image.ImageCaptchaService")
public class CaptchaImage
- extends AbstractResource
Provides Captcha image resources
- Author:
- Shane Bryzak
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CaptchaImage
public CaptchaImage()
instance
public static CaptchaImage instance()
validateResponse
public boolean validateResponse(String id,
String response)
create
@Create
public void create()
getResourcePath
protected String getResourcePath()
- Specified by:
getResourcePath
in class AbstractResource
getResource
public void getResource(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
- Specified by:
getResource
in class AbstractResource
- Throws:
IOException