org.jboss.seam.captcha
Class CaptchaImage

java.lang.Object
  extended by org.jboss.seam.web.AbstractResource
      extended by org.jboss.seam.captcha.CaptchaImage

@Scope(value=APPLICATION)
@Name(value="org.jboss.seam.captcha.captchaImage")
@BypassInterceptors
@Install(precedence=0)
public class CaptchaImage
extends AbstractResource

Serves CAPTCHA images

Author:
Shane Bryzak

Constructor Summary
CaptchaImage()
           
 
Method Summary
 void getResource(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 String getResourcePath()
           
static CaptchaImage instance()
           
 
Methods inherited from class org.jboss.seam.web.AbstractResource
getServletContext, isCompressedMimeType, isGzipEnabled, selectOutputStream, setServletContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CaptchaImage

public CaptchaImage()
Method Detail

instance

public static CaptchaImage instance()

getResourcePath

public 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


Copyright © 2011 Seam Framework. All Rights Reserved.