Package org.ametys.core.captcha
Class BufferedImageReader
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.reading.AbstractReader
org.ametys.core.captcha.BufferedImageReader
- All Implemented Interfaces:
Poolable
,Recyclable
,Component
,LogEnabled
,Reader
,SitemapModelComponent
,SitemapOutputComponent
Read an image captcha given by its key
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The name of the request attribute which must contains the imageFields inherited from class org.apache.cocoon.reading.AbstractReader
objectModel, out, parameters, resolver, source
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.cocoon.reading.AbstractReader
getLastModified, recycle, setOutputStream, setup, shouldSetContentLength
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Field Details
-
REQUEST_ATTRIBUTE
The name of the request attribute which must contains the image
-
-
Constructor Details
-
BufferedImageReader
public BufferedImageReader()
-
-
Method Details
-
generate
-
getMimeType
- Specified by:
getMimeType
in interfaceSitemapOutputComponent
- Overrides:
getMimeType
in classAbstractReader
-