Class CaptchetatReader
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.ametys.plugins.captchetat.captcha.CaptchetatReader
- All Implemented Interfaces:
Poolable
,Recyclable
,Component
,LogEnabled
,Serviceable
,Reader
,SitemapModelComponent
,SitemapOutputComponent
Reader implementation that add header for Captchetat requests
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
generate()
long
void
recycle()
void
service
(ServiceManager manager) void
void
setup
(SourceResolver resolver, Map objectModel, String src, Parameters par) boolean
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Constructor Details
-
CaptchetatReader
public CaptchetatReader()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
setup
public void setup(SourceResolver resolver, Map objectModel, String src, Parameters par) throws ProcessingException, SAXException, IOException - Specified by:
setup
in interfaceSitemapModelComponent
- Throws:
ProcessingException
SAXException
IOException
-
setOutputStream
- Specified by:
setOutputStream
in interfaceSitemapOutputComponent
- Throws:
IOException
-
getMimeType
- Specified by:
getMimeType
in interfaceSitemapOutputComponent
-
shouldSetContentLength
- Specified by:
shouldSetContentLength
in interfaceSitemapOutputComponent
-
generate
- Specified by:
generate
in interfaceReader
- Throws:
IOException
SAXException
ProcessingException
-
getLastModified
- Specified by:
getLastModified
in interfaceReader
-
recycle
- Specified by:
recycle
in interfaceRecyclable
-