Cocoon 3 Samples and Integration Tests: Overview
map:read
SAX Pipelines
- SAX Pipeline: Simplest possible pipeline that has a generator, transformer and serializer.
- SAX Pipeline: Same as before but creates XHTML as output format.
- SAX Pipeline: Same as before but creates XML as output format.
- SAX Pipeline: Same as before but creates XML as output format after validating the input.
- Status code: Set status code '401' at pipeline.
Caching
- Non-Caching pipeline: The pipeline doesn't cache (although it's components support it)
- Caching pipeline: The result of the pipeline is cached for 1.5 seconds. The next request that occurs
after the cached response has expires, triggers a reexecution of the pipeline in the same thread.
- Async-Caching pipeline: The result of the pipeline is cached for 1.5 seconds. The next request that occurs
after the cached response has expires, triggers a reexecution of the pipeline in a separate thread.
- Expires-Caching pipeline: The pipeline returns a cached result for defined period,
independently from whether components used in the pipeline support caching or not. The pipeline result is cached for 2 seconds. The
recreation of the pipeline result is done in the same thread as the servlet request.
- Expires-Async-Caching pipeline: The pipeline returns a cached result for defined period,
independently from whether components used in the pipeline support caching or not. The pipeline result is cached for 2 seconds. The recreation of the
pipeline result is done in a separate thread than the servlet request.
Error handling
Servlet-Service-Components and servlet: protocol
Expression language
Redirects
Object Model
Advanced Matching
(using a JEXL expression to set a test value)
Aggregation
XSLT
- XSLT Transformation: An XSLT transformation that includes stylesheets via file and servlet protocol.
Sitemap REST Controller
JAX-RS REST Controller
FOP
- PDF: Create a PDF document by using Apache FOP.
Encoding Serializers
- eXML: A XML serializer not relying on the JAXP API.
- eXHTML: A pedantinc XHTML serializer encoding all recognized entities with their proper HTML names.
- eHTML: A serializer converting XHTML into plain old HTML.
Cocoon-Wicket integration
- Wicket Reader: A reader defers redirects a request to a Wicket application.