# Micro Cocoon Integration Tests

## map:read

- Javascript Resource: Test explicit setting of mime-type.
- Javascript Resource: Test automatic setting of mime-type.

## 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.
- Status code: Set status code '401' at pipeline.

## Error handling

- ResourceNotFound: The error handler catches all exceptions, in this case no matcher matches.
- Custom error - Sitemap: Catch a custom error in the sitemap.
- Custom error - Pipeline: Catch a custom error using a per-pipeline error handler. *** doesn't work ***

## Servlet-Service-Components and servlet: protocol

- servlet:/: Using a local servlet service.

## Expression language

- request attribute (jexl): Accessing a request attribute using Jexl.
- request attribute (jxpath): Accessing a request attribute using JXPath.
- sitemap parameter: Accessing a sitemap parameter.
- nested matchers: Accessing a parameter from one level above.

## Redirects

- Temporary (302): Temporary redirect to orf.at.

## Object Model

- All request parameters: Print all request parameters.

## Aggregation

- Include-Transformer: Aggregate XML using the IncludeTransformer.

## XSLT

- XSLT Transformation: An XSLT transformation that includes stylesheets via file and servlet protocol.

## Parameter passing

- Matching Matcher: Passing a named parameter from a matcher to the sitemap.
- Not-Matching Matcher: Passing null from a matcher to the sitemap.

## Controller

- Invoke a controller: Invoke a controller (the first time). (returns 201)
- Continue: Continue a controller. (returns 202)